From eafb019c9b265515e2f74328fcbb80a426eb4a66 Mon Sep 17 00:00:00 2001 From: Olli Meier <21055547+ollimeier@users.noreply.github.com> Date: Thu, 10 Oct 2024 09:24:52 +0200 Subject: [PATCH] Don't show transformation handles if readOnly or glyph locked (#1705) * Fix the issue with the enter key for the dialog when dragging a transformation handle --- src/fontra/views/editor/edit-tools-pointer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fontra/views/editor/edit-tools-pointer.js b/src/fontra/views/editor/edit-tools-pointer.js index 0b39c543b..ad3afcc01 100644 --- a/src/fontra/views/editor/edit-tools-pointer.js +++ b/src/fontra/views/editor/edit-tools-pointer.js @@ -128,6 +128,7 @@ export class PointerTool extends BaseTool { !!rotationHandle ); delete sceneController.sceneModel.clickedTransformSelectionHandle; + initialEvent.preventDefault(); return; }