forked from Shinonome/dots-hyprland
notification: make dragging not lag
This commit is contained in:
@@ -125,6 +125,7 @@ Item {
|
|||||||
onDragStartedChanged: () => {
|
onDragStartedChanged: () => {
|
||||||
// Prevent drag focus being shifted to parent flickable
|
// Prevent drag focus being shifted to parent flickable
|
||||||
root.parent.parent.parent.interactive = !dragStarted
|
root.parent.parent.parent.interactive = !dragStarted
|
||||||
|
root.enableAnimation = !dragStarted
|
||||||
}
|
}
|
||||||
onReleased: (mouse) => {
|
onReleased: (mouse) => {
|
||||||
dragStarted = false
|
dragStarted = false
|
||||||
|
|||||||
Reference in New Issue
Block a user