From 983e87a9b0c83d35354ce4df34096f47173d0ea7 Mon Sep 17 00:00:00 2001 From: Alex Grozav Date: Fri, 27 Dec 2024 10:56:32 +0200 Subject: [PATCH] fix(editor): Allow zooming when panning keycode is pressed on new canvas (#12327) --- packages/editor-ui/src/components/canvas/Canvas.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/editor-ui/src/components/canvas/Canvas.vue b/packages/editor-ui/src/components/canvas/Canvas.vue index 372b95370ba98..575dc4ae2a770 100644 --- a/packages/editor-ui/src/components/canvas/Canvas.vue +++ b/packages/editor-ui/src/components/canvas/Canvas.vue @@ -661,6 +661,7 @@ provide(CanvasKey, { :min-zoom="0" :max-zoom="4" :selection-key-code="selectionKeyCode" + :zoom-activation-key-code="panningKeyCode" :pan-activation-key-code="panningKeyCode" :disable-keyboard-a11y="true" data-test-id="canvas"