Commit 0a0cbad1 authored by Harald Sitter's avatar Harald Sitter

prevent scroll view from steeling the twiddler focus

parent 3ad00c65
......@@ -34,6 +34,7 @@ Item {
anchors.fill: parent
drag.target: parent
drag.axis: Drag.YAxis
preventStealing: true // Scrollviews are a bitch
onMouseYChanged: {
if (!drag.active) {
return
......@@ -56,6 +57,7 @@ Item {
anchors.fill: parent
drag.target: parent
drag.axis: Drag.XAxis
preventStealing: true
onMouseXChanged: {
if (!drag.active) {
return
......@@ -77,6 +79,7 @@ Item {
anchors.fill: parent
drag.target: parent
drag.axis: Drag.YAxis
preventStealing: true
onMouseYChanged: {
if (!drag.active) {
return
......@@ -98,6 +101,7 @@ Item {
anchors.fill: parent
drag.target: parent
drag.axis: Drag.XAxis
preventStealing: true
onMouseXChanged: {
if (!drag.active) {
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment