Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Mousearea {
- id: number
- width: 90 / 32 * Theme.fontSizeMedium
- height: width
- preventStealing: true
- onExited: {
- down = true;
- dragIndicator.active = true;
- }
- }
- }
- }
- Loader {
- id: dragIndicator
- active: false
- sourceComponent: Component {
- GlassItem {
- id: dragHighlight
- width: Theme.itemSizeMedium
- height: Theme.itemSizeMedium
- radius: 0.17
- falloffRadius: 0.17
- color: Theme.highlightColor
- x: mouseX + width/2
- y: mouseY + height/2
- Drag.active: true
- Drag.hotSpot.x: width/2
- Drag.hotSpot.y: height/2
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement