-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use DropArea for each item on FullscreenFrame
为全屏模式下的拖拽支持准备,为每个 Item 提供一个 DropArea 用于接受拖 拽。此方式即不再需要通过顶层查找的方式来通过鼠标位置定位 item 是哪个。 Log:
- Loading branch information
Showing
2 changed files
with
46 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,10 +134,6 @@ Control { | |
} | ||
} | ||
|
||
HoverHandler { | ||
id: stylus | ||
} | ||
|
||
DragHandler { | ||
id: dragHandler | ||
enabled: root.dndEnabled | ||
|