Skip to content

Commit

Permalink
fix: cannot drag window with title bar
Browse files Browse the repository at this point in the history
As title, replace Control with Item.
Control steal mouse events.

Log: fix cannot drag window.
Bug: https://pms.uniontech.com/bug-view-269541.html
  • Loading branch information
rb-union committed Sep 24, 2024
1 parent f86a62d commit 5857ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qml/ImageViewer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ Item {
}

// 图片滑动视图的上层组件
Control {
Item {
id: viewBackground

anchors.fill: parent
Expand Down

0 comments on commit 5857ac4

Please sign in to comment.