When Ctrl+Z undoes a movement, remove that movement form the movement history as well (resolves #64)
This commit is contained in:
@@ -210,3 +210,7 @@ export function setSnapParameterOnOptions(sourceObject, options) {
|
||||
options.snap = !game.keyboard._downKeys.has("Shift");
|
||||
}
|
||||
}
|
||||
|
||||
export function isClose(a, b, delta) {
|
||||
return Math.abs(a - b) <= delta;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user