Skip to content

Commit

Permalink
Fix typo (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krizz committed Sep 15, 2020
1 parent 2160605 commit 274a24c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/edit-modes/src/lib/scale-mode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class ScaleMode extends GeoJsonEditMode {
return updatedData.getObject();
};

isEditHandleSelcted = (): boolean => Boolean(this._selectedEditHandle);
isEditHandleSelected = (): boolean => Boolean(this._selectedEditHandle);

getScaleAction = (
startDragPoint: Position,
Expand Down
2 changes: 1 addition & 1 deletion modules/edit-modes/src/lib/transform-mode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class TransformMode extends CompositeMode {
}
});

if (scaleMode instanceof ScaleMode && !scaleMode.isEditHandleSelcted()) {
if (scaleMode instanceof ScaleMode && !scaleMode.isEditHandleSelected()) {
filteredModes.push(translateMode);
}

Expand Down

0 comments on commit 274a24c

Please sign in to comment.