@servantcdh/ez-planet-labeling 0.5.25 → 0.5.26

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 +13 -1
  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.25",
3592
+ version: "0.5.26",
3593
3593
  author: LIB_AUTHOR,
3594
3594
  contact: LIB_CONTACT,
3595
3595
  license: "Proprietary — See LICENSE"
@@ -21019,6 +21019,18 @@ function WorkspaceImageSection({
21019
21019
  setNavigationActive(!navigationActive);
21020
21020
  event.preventDefault();
21021
21021
  break;
21022
+ default: {
21023
+ const extItems = useToolbarSubMenuItemsStore.getState().items;
21024
+ const matched = extItems.find((ext) => {
21025
+ var _a2;
21026
+ return ((_a2 = ext.shortcut) == null ? void 0 : _a2.key) === key;
21027
+ });
21028
+ if (matched) {
21029
+ matched.onClick();
21030
+ event.preventDefault();
21031
+ }
21032
+ break;
21033
+ }
21022
21034
  }
21023
21035
  };
21024
21036
  window.addEventListener("keydown", handleToolShortcut);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servantcdh/ez-planet-labeling",
3
- "version": "0.5.25",
3
+ "version": "0.5.26",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",