Commit 24bcb992 authored by Patrick José Pereira's avatar Patrick José Pereira

Solve scroll problem in windrose

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 6a655743
...@@ -710,8 +710,9 @@ Rectangle { ...@@ -710,8 +710,9 @@ Rectangle {
if (y !== undefined) if (y !== undefined)
windRosePie.y = y - windRosePie.height / 2; windRosePie.y = y - windRosePie.height / 2;
windRosePie.visible = true; windRosePie.visible = true
windRosePie.focus = true windRosePie.focus = true
missionItemEditorListView.interactive = false
} }
MouseArea { MouseArea {
...@@ -721,6 +722,7 @@ Rectangle { ...@@ -721,6 +722,7 @@ Rectangle {
onClicked: { onClicked: {
windRosePie.visible = false; windRosePie.visible = false;
missionItemEditorListView.interactive = true
} }
onPositionChanged: { onPositionChanged: {
var point = Qt.point(mouseX - parent.width / 2, mouseY - parent.height / 2) var point = Qt.point(mouseX - parent.width / 2, mouseY - parent.height / 2)
......
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