Add retina detection

This commit is contained in:
Pieter Vander Vennet 2020-09-27 21:00:37 +02:00
parent 6a92e417ec
commit 3e2fbcee20
3 changed files with 9 additions and 2 deletions

View file

@ -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()
}