Minor refactoring and fixes

This commit is contained in:
barsdeveloper
2022-12-26 14:10:25 +01:00
parent 3df33bfe05
commit a1ae7799a1
30 changed files with 651 additions and 536 deletions

View File

@@ -16,10 +16,10 @@ export default class WindowTemplate extends IDraggablePositionedTemplate {
}
createDraggableObject() {
return new MouseMoveDraggable(this.element, this.element.blueprint, {
return new MouseMoveDraggable(this.element, this.blueprint, {
draggableElement: this.getDraggableElement(),
ignoreTranslateCompensate: true,
movementSpace: this.element.blueprint,
movementSpace: this.blueprint,
stepSize: 1,
})
}