hide EventsSinkOriginArea when not needed

work/spdx
Michail Vourlakos 4 years ago
parent fb1aaefd34
commit 17f4a90ed7

@ -23,7 +23,7 @@ MouseArea {
id: __destinationArea
enabled: visible
hoverEnabled: true
visible: root.latteView && root.latteView.sink.originItem !== __destinationArea
visible: root.latteView && root.latteView.sink.originItem !== __destinationArea && width>0 && height>0
onEntered: {
root.latteView.sink.setSink(__destinationArea, destination)

Loading…
Cancel
Save