Skip to content

Commit 832e381

Browse files
MyLeeJiEundeepin-bot[bot]
authored andcommitted
fix: bind hover and pressed states to background
1. Add D.ColorSelector.hovered and D.ColorSelector.pressed properties to the app item background delegate 2. Fix taskbar app retaining selected state after long-press popup is dismissed by clicking desktop blank area Log: fix taskbar app keeping selected state after dismissing long-press popup fix: 绑定悬停和按下状态到背景 1. 为应用项背景委托添加 D.ColorSelector.hovered 和 D.ColorSelector.pressed 属性 2. 修复单指长按任务栏应用弹出面板后,点击桌面空白处 任务栏应用依然有选中状态的问题 Log: 修复长按弹出面板关闭后任务栏应用残留选中状态的问题 PMS: BUG-364531
1 parent 7ad85c6 commit 832e381

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

panels/dock/taskmanager/package/AppItem.qml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ Item {
9797
isActive: root.active
9898
windowCount: root.windows.length
9999
displayMode: root.displayMode
100+
D.ColorSelector.hovered: hoverHandler.hovered
101+
D.ColorSelector.pressed: mouseArea.pressed
100102
}
101103
Item {
102104
id: iconContainer

0 commit comments

Comments
 (0)