Fixed selection tools dragging when the cursor is not in the selection

This commit is contained in:
Nicola
2022-01-31 23:17:15 +01:00
parent cdabbb4a5c
commit c5ede4cc69
5 changed files with 4 additions and 8 deletions

View File

@@ -47,6 +47,7 @@ class ResizableTool extends DrawingTool {
//fix offset so the cursor stays centered
this.updateCursor();
this.onHover(this.startResizePos, mouseEvent);
TopMenuModule.updateField(this.name + "-input", this.currSize);
}
onRightEnd(mousePos, mouseEvent) {