mce 0.15.22 → 0.15.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.
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11959,7 +11959,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
11959
11959
|
t,
|
|
11960
11960
|
exec
|
|
11961
11961
|
} = useEditor();
|
|
11962
|
-
const isActive = computed(() =>
|
|
11962
|
+
const isActive = computed(() => {
|
|
11963
|
+
return selectionAabb.value.width && selectionAabb.value.height && !viewportAabb.value.overlap(selectionAabb.value);
|
|
11964
|
+
});
|
|
11963
11965
|
return (_ctx, _cache) => {
|
|
11964
11966
|
return isActive.value ? (openBlock(), createElementBlock("div", {
|
|
11965
11967
|
key: 0,
|