@servantcdh/ez-planet-labeling 0.5.32 → 0.5.33
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/dist/index.js +10 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3589,7 +3589,7 @@ const LIB_AUTHOR = "최동호";
|
|
|
3589
3589
|
const LIB_CONTACT = "servantcdh@naver.com";
|
|
3590
3590
|
const __EZ_PLANET_META__ = Object.freeze({
|
|
3591
3591
|
name: LIB_NAME,
|
|
3592
|
-
version: "0.5.
|
|
3592
|
+
version: "0.5.33",
|
|
3593
3593
|
author: LIB_AUTHOR,
|
|
3594
3594
|
contact: LIB_CONTACT,
|
|
3595
3595
|
license: "Proprietary — See LICENSE"
|
|
@@ -18703,7 +18703,15 @@ const useImageLabelingUIMeta = ({
|
|
|
18703
18703
|
setSelectedSubToolId(tool == null ? void 0 : tool.id);
|
|
18704
18704
|
setLastSelectedType("subTool");
|
|
18705
18705
|
}
|
|
18706
|
-
|
|
18706
|
+
const builtInDrawingTools = [
|
|
18707
|
+
"bounded-box",
|
|
18708
|
+
"pen",
|
|
18709
|
+
"brush",
|
|
18710
|
+
"eraser",
|
|
18711
|
+
"magic-wand",
|
|
18712
|
+
"superpixel"
|
|
18713
|
+
];
|
|
18714
|
+
if (tool && builtInDrawingTools.includes(tool.id)) {
|
|
18707
18715
|
const panelStore = useExtensionFloatingPanelStore.getState();
|
|
18708
18716
|
if (panelStore.activePanelId) {
|
|
18709
18717
|
panelStore.closePanel();
|