Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion qml/windowed/FreeSortListView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,11 @@ Item {
id: mouseArea
anchors.fill: parent

// Use a dummy Item as drag.target so Wayland dnd doesn't break the original ItemDelegate layout
Item { id: dndTarget }

acceptedButtons: Qt.LeftButton | Qt.RightButton
drag.target: itemDelegate
drag.target: dndTarget

// 记录是否是触摸长按导致的,防止在 onClicked 中重复处理
property bool isTouchLongPressed: false
Expand Down
Loading