Skip to content

Commit 1b1b267

Browse files
wjyrichdeepin-bot[bot]
authored andcommitted
fix: close tooltip before show desktop action
1. Added toolTip.close() before toggling show desktop 2. Prevents tooltip from remaining visible after clicking 3. Improves visual consistency when interacting with the dock fix: 在显示桌面操作前关闭工具提示 1. 在切换显示桌面之前添加了toolTip.close() 2. 防止点击后工具提示仍然可见 3. 提高了与dock交互时的视觉一致性 Pms: BUG-324009
1 parent 64a75f3 commit 1b1b267

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

panels/dock/showdesktop/package/showdesktop.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ AppletItem {
3838
}
3939

4040
onClicked: {
41+
toolTip.close()
4142
Applet.toggleShowDesktop()
4243
}
4344
onHoveredChanged: {

0 commit comments

Comments
 (0)