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 bae615c commit c588180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fontra/views/editor/edit-tools-pointer.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ export class PointerTool extends BaseTool {
point.y -= positionedGlyph.y;
const pathHitTester = glyphController.pathHitTester;
const nearestHit = pathHitTester.findNearest(point);
if (nearestHit){
if (nearestHit) {
sceneController.magicSelectionHit = [
point.x,
point.y,
nearestHit.x,
nearestHit.y
nearestHit.y,
];
const contourIndex = nearestHit.contourIndex;
this.selectContour(sceneController, contourIndex, getMagicSelectModeFunction);
Expand Down

0 comments on commit c588180

Please sign in to comment.