From bae615c816ab1df38be4aefcb131e3f3e3493816 Mon Sep 17 00:00:00 2001 From: GaetanBaehr Date: Wed, 9 Oct 2024 11:35:24 +0200 Subject: [PATCH] formatting --- src/fontra/views/editor/edit-tools-pointer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fontra/views/editor/edit-tools-pointer.js b/src/fontra/views/editor/edit-tools-pointer.js index 4ac170525..448af3cad 100644 --- a/src/fontra/views/editor/edit-tools-pointer.js +++ b/src/fontra/views/editor/edit-tools-pointer.js @@ -140,9 +140,9 @@ export class PointerTool extends BaseTool { const nearestHit = pathHitTester.findNearest(point); if (nearestHit){ sceneController.magicSelectionHit = [ - point.x, - point.y, - nearestHit.x, + point.x, + point.y, + nearestHit.x, nearestHit.y ]; const contourIndex = nearestHit.contourIndex; @@ -357,7 +357,7 @@ export class PointerTool extends BaseTool { async handleMagicSelect(eventStream, sceneController) { const glyphController = await this.sceneModel.getSelectedStaticGlyphController(); for await (const event of eventStream) { - if (event.metaKey) { + if (event.metaKey) { this.getNearestHit(sceneController, event, glyphController); } else { sceneController.magicSelectionHit = undefined;