@servantcdh/ez-planet-labeling 0.5.15 → 0.5.16

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3587,7 +3587,7 @@ const LIB_AUTHOR = "최동호";
3587
3587
  const LIB_CONTACT = "servantcdh@naver.com";
3588
3588
  const __EZ_PLANET_META__ = Object.freeze({
3589
3589
  name: LIB_NAME,
3590
- version: "0.5.15",
3590
+ version: "0.5.16",
3591
3591
  author: LIB_AUTHOR,
3592
3592
  contact: LIB_CONTACT,
3593
3593
  license: "Proprietary — See LICENSE"
@@ -9167,7 +9167,11 @@ const globalInit = ({
9167
9167
  if (action !== "added") {
9168
9168
  dispatchState(action, target);
9169
9169
  }
9170
- compareByObjects([...getLabeledObjects()]);
9170
+ const latestObjects = getLabeledObjects();
9171
+ compareByObjects([...latestObjects]);
9172
+ if (action === "added") {
9173
+ useLabelBatchStore.getState().syncFabricObjects(latestObjects);
9174
+ }
9171
9175
  emitLabelEvent("changed", {
9172
9176
  action,
9173
9177
  objects: target._objects && target._objects.length > 1 ? [target] : objects
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servantcdh/ez-planet-labeling",
3
- "version": "0.5.15",
3
+ "version": "0.5.16",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",