mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Fixed selection tools dragging when the cursor is not in the selection
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user