Fix default-hidden property not working

This commit is contained in:
Lukas Rieger (Blue) 2022-08-31 15:07:53 +02:00
parent 385a5cf220
commit 211127e76b
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2

View File

@ -105,7 +105,7 @@ export class MarkerSet extends Scene {
markerSet = new MarkerSet(markerSetId); markerSet = new MarkerSet(markerSetId);
this.add(markerSet); this.add(markerSet);
if (data.defaultHide) { if (data.defaultHidden) {
markerSet.visible = false; markerSet.visible = false;
} }
} }