mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Fixed a bug that caused the cursor of the rect selection not to reset after panning
This commit is contained in:
parent
11337b689b
commit
cba4e5c87e
@ -33,4 +33,6 @@ function updateCursor () {
|
|||||||
|
|
||||||
if (currentTool == 'resize-brush' || currentTool == 'resize-eraser')
|
if (currentTool == 'resize-brush' || currentTool == 'resize-eraser')
|
||||||
canvasView.style.cursor = 'default';
|
canvasView.style.cursor = 'default';
|
||||||
|
if (currentTool == 'rectselect')
|
||||||
|
canvasView.style.cursor = 'crosshair';
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user