forked from MapComplete/MapComplete
Add retina detection
This commit is contained in:
parent
6a92e417ec
commit
3e2fbcee20
3 changed files with 9 additions and 2 deletions
|
@ -204,7 +204,7 @@ export class SimpleAddUI extends UIElement {
|
|||
"</span>"]).Render();
|
||||
}
|
||||
|
||||
if (State.state.locationControl.data.zoom < 19) {
|
||||
if (State.state.locationControl.data.zoom < State.userJourney.minZoomLevelToAddNewPoints) {
|
||||
return new Combine([header, Translations.t.general.add.zoomInFurther]).Render()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue