From 771d1d9194e4316b4de017715e8842be90ee2cda Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Tue, 24 Jan 2023 14:19:14 +0100 Subject: [PATCH] :bug: Fix double click and lens zoom --- frontend/src/app/main/ui/workspace/viewport/actions.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/viewport/actions.cljs b/frontend/src/app/main/ui/workspace/viewport/actions.cljs index 5999b8424c..4c9ab2cf5f 100644 --- a/frontend/src/app/main/ui/workspace/viewport/actions.cljs +++ b/frontend/src/app/main/ui/workspace/viewport/actions.cljs @@ -178,7 +178,7 @@ (mf/deps @hover @hover-ids drawing-path? edition drawing-tool @z? workspace-read-only?) (fn [event] (dom/stop-propagation event) - (when (not z?) + (when-not @z? (let [ctrl? (kbd/ctrl? event) shift? (kbd/shift? event) alt? (kbd/alt? event)