Skip to content

Commit

Permalink
Make method private
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Nov 25, 2024
1 parent 78be745 commit fb762d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fontra/views/editor/edit-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class EditBehavior {
// For the latter, we don't want the initial change (before the constraint)
// to be constrained, but pin the handle angle based on the freely transformed
// off-curve point.
return this.makeChangeForTransformFunc(
return this._makeChangeForTransformFunc(
makePointTranslateFunction(this.constrainDelta(delta)),
makePointTranslateFunction(delta)
);
Expand Down Expand Up @@ -225,15 +225,15 @@ class EditBehavior {
return backgroundImage;
};

return this.makeChangeForTransformFunc(
return this._makeChangeForTransformFunc(
pointTransformFunction,
null,
componentTransformFunction,
backgroundImageTransformFunction
);
}

makeChangeForTransformFunc(
_makeChangeForTransformFunc(
transformFunc,
freeTransformFunc = null,
transformComponentFunc = null,
Expand Down

0 comments on commit fb762d1

Please sign in to comment.