Improove naming input options

This commit is contained in:
barsdeveloper
2022-10-14 19:52:00 +02:00
parent da73cf98b5
commit 0b19d89416
17 changed files with 64 additions and 60 deletions

View File

@@ -13,7 +13,7 @@ import Utility from "../../Utility"
export default class MouseMoveDraggable extends IMouseClickDrag {
clicked(location) {
if (this.options.repositionClickOffset) {
if (this.options.repositionOnClick) {
this.target.setLocation(this.stepSize > 1
? Utility.snapToGrid(location, this.stepSize)
: location