Commit 9779ecf
committed
fix(dock): fix hover bottom border invisible for non-active app items
When AppItemBackground overrides outsideBorderColor from the base class,
the hovered state was incorrectly set to :normal, causing non-active
app items to use the normal color (transparent) on hover - making the
bottom border completely invisible. Unify outsideBorderColor with the
same palette definition as activeOutsideBorderColor to ensure hover
state has dedicated visible color values.
AppItemBackground子类覆盖基类outsideBorderColor时,hovered状态
错误地设为:normal,导致非活跃应用的hover底边使用normal色
(transparent)而完全不可见。将outsideBorderColor统一为与
activeOutsideBorderColor相同的完整palette定义,使hover态有独立的
可见颜色值。
Log: 修复任务栏非活跃应用hover底边描边不可见的问题
PMS: BUG-364205
Influence: 仅影响任务栏应用图标hover底边效果,非活跃应用hover时底边描边恢复正常显示,不影响托盘等其他组件。1 parent c37a0d8 commit 9779ecf
1 file changed
Lines changed: 22 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
110 | 124 | | |
111 | | - | |
112 | | - | |
113 | 125 | | |
114 | | - | |
115 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
116 | 132 | | |
117 | 133 | | |
118 | 134 | | |
| |||
0 commit comments