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

@ -34,7 +34,8 @@ export class State {
tagsVisibleAndWikiLinked: 150,
themeGeneratorReadOnlyUnlock: 200,
themeGeneratorFullUnlock: 500,
addNewPointWithUnreadMessagesUnlock: 500
addNewPointWithUnreadMessagesUnlock: 500,
minZoomLevelToAddNewPoints: (Utils.isRetina() ? 18 : 19)
};
public static runningFromConsole: boolean = false;