Explorar o código

Update textWysiwyg.tsx

zsviczian %!s(int64=3) %!d(string=hai) anos
pai
achega
b610c04481
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      src/element/textWysiwyg.tsx

+ 2 - 3
src/element/textWysiwyg.tsx

@@ -541,10 +541,9 @@ export const textWysiwyg = ({
       target instanceof HTMLInputElement &&
       target.closest(".color-picker-input") &&
       isWritableElement(target);
- 
+
     const isShapeActionsPanel =
-      (target instanceof HTMLElement ||
-        target instanceof SVGElement) &&
+      (target instanceof HTMLElement || target instanceof SVGElement) &&
       (target.closest(`.${CLASSES.SHAPE_ACTIONS_MENU}`) ||
         target.closest(`.${CLASSES.SHAPE_ACTIONS_MOBILE_MENU}`) ||
         target.closest(`.${CLASSES.MOBILE_TOOLBAR}`)) &&