Skip to content

Commit

Permalink
fix: add offset to quick panel drag item to avoid cursor cover icon
Browse files Browse the repository at this point in the history
添加纵向偏移,避免小图标被鼠标指针图标遮挡

PMS: BUG-293867
Log:
  • Loading branch information
BLumia committed Feb 20, 2025
1 parent 3a3d55e commit 4a115e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions panels/dock/tray/quickpanel/DragItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ Item {
Loader {
active: isFallbackIcon && root.dragItem.DQuickDrag.isDragging
anchors.centerIn: parent
anchors.verticalCenterOffset: -root.fallbackIconSize.height / 3 * 2
sourceComponent: ShellSurfaceItemProxy {
shellSurface: root.fallbackDragImage
width: root.fallbackIconSize.width
Expand Down

0 comments on commit 4a115e5

Please sign in to comment.