From 26a074768f970f0e62d4f7f67197e297934e0479 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Thu, 28 Apr 2022 11:36:28 +0200 Subject: [PATCH] :bug: Fix path editing --- frontend/src/app/main/ui/workspace/viewport.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/viewport.cljs b/frontend/src/app/main/ui/workspace/viewport.cljs index f75698f58..0e5c2ed63 100644 --- a/frontend/src/app/main/ui/workspace/viewport.cljs +++ b/frontend/src/app/main/ui/workspace/viewport.cljs @@ -158,9 +158,10 @@ show-outlines? (and (nil? transform) (not edition) (not drawing-obj) (not (#{:comments :path :curve} drawing-tool))) show-pixel-grid? (and (contains? layout :show-pixel-grid) (>= zoom 8)) + show-text-editor? (and editing-shape (= :text (:type editing-shape))) show-presence? page-id show-prototypes? (= options-mode :prototype) - show-selection-handlers? (and (seq selected) (not edition)) + show-selection-handlers? (and (seq selected) (not show-text-editor?)) show-snap-distance? (and (contains? layout :dynamic-alignment) (= transform :move) (seq selected)) @@ -172,7 +173,6 @@ show-artboard-names? (contains? layout :display-artboard-names) show-rules? (and (contains? layout :rules) (not (contains? layout :hide-ui))) - show-text-editor? (and editing-shape (= :text (:type editing-shape))) disabled-guides? (or drawing-tool transform)]