Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Education
Marble
Commits
7cbe31fe
Commit
7cbe31fe
authored
Jun 26, 2016
by
Dennis Nienhüser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix z-order and visibility of position marker
parent
7c69717d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
src/apps/marble-maps/MainScreen.qml
src/apps/marble-maps/MainScreen.qml
+11
-11
No files found.
src/apps/marble-maps/MainScreen.qml
View file @
7cbe31fe
...
...
@@ -121,6 +121,17 @@ ApplicationWindow {
routingProfile
:
routeEditor
.
routingProfile
}
PositionMarker
{
id
:
positionMarker
posX
:
navigationManager
.
snappedPositionMarkerScreenPosition
.
x
posY
:
navigationManager
.
snappedPositionMarkerScreenPosition
.
y
angle
:
marbleMaps
.
angle
visible
:
marbleMaps
.
positionAvailable
&&
marbleMaps
.
positionVisible
radius
:
navigationManager
.
screenAccuracy
color
:
navigationManager
.
deviated
?
"
#40ff0000
"
:
"
transparent
"
border.color
:
navigationManager
.
deviated
?
"
red
"
:
"
transparent
"
}
MouseArea
{
anchors.fill
:
parent
propagateComposedEvents
:
true
...
...
@@ -291,17 +302,6 @@ ApplicationWindow {
}
]
}
PositionMarker
{
id
:
positionMarker
posX
:
navigationManager
.
snappedPositionMarkerScreenPosition
.
x
posY
:
navigationManager
.
snappedPositionMarkerScreenPosition
.
y
angle
:
marbleMaps
.
angle
visible
:
true
radius
:
navigationManager
.
screenAccuracy
color
:
navigationManager
.
deviated
?
"
#40ff0000
"
:
"
transparent
"
border.color
:
navigationManager
.
deviated
?
"
red
"
:
"
transparent
"
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment