[localeq] prevent MouseArea from stealing all map interaction

bug introduced with Qt 5.15 KDE patches makes near impossible to set location
adding - 5 seems to fix, otherwise the coordinates label will have to be removed
main
demmm 4 years ago
parent e5f93d3563
commit 70df0b0bc8

@ -168,7 +168,7 @@ Column {
hoverEnabled: true hoverEnabled: true
property var coordinate: map.toCoordinate(Qt.point(mouseX, mouseY)) property var coordinate: map.toCoordinate(Qt.point(mouseX, mouseY))
Label { Label {
x: parent.mouseX - width x: parent.mouseX - width -5
y: parent.mouseY - height - 5 y: parent.mouseY - height - 5
text: "%1, %2".arg( text: "%1, %2".arg(
parent.coordinate.latitude).arg(parent.coordinate.longitude) parent.coordinate.latitude).arg(parent.coordinate.longitude)

Loading…
Cancel
Save