forked from MapComplete/MapComplete
new color and icon for navigation
This commit is contained in:
parent
bd1b29e344
commit
3a16518bcb
2 changed files with 5 additions and 5 deletions
|
@ -73,16 +73,16 @@ export default class GeoLocationHandler extends VariableUiElement {
|
|||
(hasLocation) => {
|
||||
if (hasLocation) {
|
||||
return new CenterFlexedElement(
|
||||
Img.AsImageElement(Svg.location, "", "width:1.5rem;height:1.5rem")
|
||||
Img.AsImageElement(Svg.location, "", "width:1.25rem;height:1.25rem")
|
||||
); // crosshair_blue_ui()
|
||||
}
|
||||
if (isActive.data) {
|
||||
return new CenterFlexedElement(
|
||||
Img.AsImageElement(Svg.location, "", "width:1.5rem;height:1.5rem")
|
||||
Img.AsImageElement(Svg.location, "", "width:1.25rem;height:1.25rem")
|
||||
); // crosshair_blue_center_ui
|
||||
}
|
||||
return new CenterFlexedElement(
|
||||
Img.AsImageElement(Svg.location, "", "width:1.5rem;height:1.5rem")
|
||||
Img.AsImageElement(Svg.location, "", "width:1.25rem;height:1.25rem")
|
||||
); //crosshair_ui
|
||||
},
|
||||
[isActive]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue