Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanBaehr committed Oct 9, 2024
1 parent f71c2b7 commit bae615c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/fontra/views/editor/edit-tools-pointer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit bae615c

Please sign in to comment.