Commit 7cca7d0d authored by Sebastian Gottfried's avatar Sebastian Gottfried
Browse files

Training Widget: Fix Scroll Bar Mouse Interaction

There was an other mouse area on top of the scroll bar capturing all
mouse events meant for scroll bar. Changing the stacking order fixed
this.
parent 24f41455
......@@ -53,6 +53,11 @@ FocusScope {
}
}
MouseArea {
anchors.fill: parent
onClicked: trainingLine.forceActiveFocus()
}
ScrollView {
anchors.fill: parent
Flickable
......@@ -185,11 +190,6 @@ FocusScope {
}
}
MouseArea {
anchors.fill: parent
onClicked: trainingLine.forceActiveFocus()
}
KeyItem {
id: hintKey
parent: trainingWidget.overlayContainer
......
Supports Markdown
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