Skip to content

Commit 4a115e5

Browse files
committed
fix: add offset to quick panel drag item to avoid cursor cover icon
添加纵向偏移,避免小图标被鼠标指针图标遮挡 PMS: BUG-293867 Log:
1 parent 3a3d55e commit 4a115e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

panels/dock/tray/quickpanel/DragItem.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ Item {
107107
Loader {
108108
active: isFallbackIcon && root.dragItem.DQuickDrag.isDragging
109109
anchors.centerIn: parent
110+
anchors.verticalCenterOffset: -root.fallbackIconSize.height / 3 * 2
110111
sourceComponent: ShellSurfaceItemProxy {
111112
shellSurface: root.fallbackDragImage
112113
width: root.fallbackIconSize.width

0 commit comments

Comments
 (0)