seat-editor 3.6.22 → 3.6.23

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.
@@ -304,6 +304,10 @@ const LayerView = (props) => {
304
304
  if (downInOutSelection || hasSelectionDownOutSelection || unSelectAll) {
305
305
  handleUnSelectComponent();
306
306
  }
307
+ if (unSelectAll) {
308
+ setTooltip((prev) => (Object.assign(Object.assign({}, prev), { visible: false })));
309
+ return;
310
+ }
307
311
  setPanningGroup(true);
308
312
  if (makeSelection && (props === null || props === void 0 ? void 0 : props.allowTooltip) && (tooltip === null || tooltip === void 0 ? void 0 : tooltip.visible)) {
309
313
  setTooltip((prev) => (Object.assign(Object.assign({}, prev), { visible: false })));
@@ -303,6 +303,10 @@ const LayerView = (props) => {
303
303
  if (downInOutSelection || hasSelectionDownOutSelection || unSelectAll) {
304
304
  handleUnSelectComponent();
305
305
  }
306
+ if (unSelectAll) {
307
+ setTooltip((prev) => (Object.assign(Object.assign({}, prev), { visible: false })));
308
+ return;
309
+ }
306
310
  setPanningGroup(true);
307
311
  if (makeSelection && (props === null || props === void 0 ? void 0 : props.allowTooltip) && (tooltip === null || tooltip === void 0 ? void 0 : tooltip.visible)) {
308
312
  setTooltip((prev) => (Object.assign(Object.assign({}, prev), { visible: false })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seat-editor",
3
- "version": "3.6.22",
3
+ "version": "3.6.23",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",