effectkit: Allow disabling dnd in WindowHeap

This commit is contained in:
Vlad Zahorodnii 2021-11-23 17:12:45 +02:00 committed by Nate Graham
parent 2456344fae
commit 6dffda920a

View file

@ -26,6 +26,7 @@ FocusScope {
property int selectedIndex: -1
property int animationDuration: PlasmaCore.Units.longDuration
property bool animationEnabled: false
property bool dragEnabled: true
property real padding: 0
property var showOnly: []
@ -300,6 +301,7 @@ FocusScope {
component DragManager : DragHandler {
id: dragHandler
enabled: heap.dragEnabled
target: null
readonly property double targetScale: {