mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Fixed fill tool bug
This commit is contained in:
parent
cc460446b6
commit
d762c04ba0
@ -10,7 +10,7 @@ class FillTool extends DrawingTool {
|
|||||||
|
|
||||||
if (target.className != 'drawingCanvas')
|
if (target.className != 'drawingCanvas')
|
||||||
return;
|
return;
|
||||||
this.fill(mousePos);
|
FillTool.fill(mousePos);
|
||||||
currFile.currentLayer.updateLayerPreview();
|
currFile.currentLayer.updateLayerPreview();
|
||||||
|
|
||||||
new HistoryState().EditCanvas();
|
new HistoryState().EditCanvas();
|
||||||
|
Loading…
Reference in New Issue
Block a user