@vived/app 4.35.2 → 4.35.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Components/Hideable/UCs/SerializeHideableObjects.js +3 -5
- package/lib/Components/Label/UC/SerializeCustomLabels.js +2 -4
- package/lib/Components/OverlayColor/UC/SerializeOverlayColoredObjects.js +2 -4
- package/lib/Components/Transparency/UCs/SerializeTransparentObjects.js +3 -5
- package/package.json +1 -1
|
@@ -73,11 +73,9 @@ class SerializeHideableObjectsImp extends SerializeHideableObjects {
|
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
75
|
hiddenObjectsIds.forEach((remainingObjectId) => {
|
|
76
|
-
const appObject = this.appObjects.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
hideable.isHidden = true;
|
|
80
|
-
}
|
|
76
|
+
const appObject = this.appObjects.getOrCreate(remainingObjectId);
|
|
77
|
+
const hideable = Hideable_1.Hideable.addIfMissing(appObject);
|
|
78
|
+
hideable.isHidden = true;
|
|
81
79
|
});
|
|
82
80
|
}
|
|
83
81
|
applyDefaultState() {
|
|
@@ -70,10 +70,8 @@ class SerializeCustomLabelsImp extends SerializeCustomLabels {
|
|
|
70
70
|
});
|
|
71
71
|
customLabelsLookup.forEach((customLabel, objectId) => {
|
|
72
72
|
const appObject = this.appObjects.getOrCreate(objectId);
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
label.custom = customLabel;
|
|
76
|
-
}
|
|
73
|
+
const label = Entities_1.LabelEntity.addIfMissing(appObject);
|
|
74
|
+
label.custom = customLabel;
|
|
77
75
|
});
|
|
78
76
|
}
|
|
79
77
|
applyDefaultState() {
|
|
@@ -71,10 +71,8 @@ class SerializeOverlayColoredObjectsImp extends SerializeOverlayColoredObjects {
|
|
|
71
71
|
});
|
|
72
72
|
overlayLookup.forEach((desiredColor, remainingObjectId) => {
|
|
73
73
|
const appObject = this.appObjects.getOrCreate(remainingObjectId);
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
overlayColor.overlayColor = desiredColor;
|
|
77
|
-
}
|
|
74
|
+
const overlayColor = OverlayColor_1.OverlayColor.addIfMissing(appObject);
|
|
75
|
+
overlayColor.overlayColor = desiredColor;
|
|
78
76
|
});
|
|
79
77
|
}
|
|
80
78
|
applyDefaultState() {
|
|
@@ -70,11 +70,9 @@ class SerializeTransparentObjectsImp extends SerializeTransparentObjects {
|
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
72
|
transparentObjectsIds.forEach((remainingObjectId) => {
|
|
73
|
-
const appObject = this.appObjects.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
hideable.isTransparent = true;
|
|
77
|
-
}
|
|
73
|
+
const appObject = this.appObjects.getOrCreate(remainingObjectId);
|
|
74
|
+
const hideable = Entities_1.Transparency.addIfMissing(appObject);
|
|
75
|
+
hideable.isTransparent = true;
|
|
78
76
|
});
|
|
79
77
|
}
|
|
80
78
|
applyDefaultState() {
|