restrict adding notes to zoom >= 16

This commit is contained in:
Thomas Hervey
2018-07-20 10:40:04 -04:00
parent 5daffe3d25
commit e9aa36e812
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export function uiModes(context) {
function toggleNewNote() {
return svgNotes().enabled()
&& context.connection().authenticated()
&& ~~context.map().zoom() >= 12;
&& ~~context.map().zoom() >= 16;
}