mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-12-05 03:12:13 +00:00
remember active overlays
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
export let multiple: boolean = false;
|
||||
|
||||
export let open: CollapsedInfoTreeType<boolean>;
|
||||
export let checked: LayerTreeType;
|
||||
|
||||
if (!Array.isArray(node)) {
|
||||
Object.keys(node).forEach((id) => {
|
||||
if (!open.children.hasOwnProperty(id)) {
|
||||
@@ -27,8 +29,6 @@
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
export let checked: LayerTreeType;
|
||||
Object.keys(node).forEach((id) => {
|
||||
if (!checked.hasOwnProperty(id)) {
|
||||
if (typeof node[id] == 'boolean') {
|
||||
|
||||
Reference in New Issue
Block a user