Fixed fill tool bug

This commit is contained in:
Nicola 2022-01-23 16:07:04 +01:00
parent cc460446b6
commit d762c04ba0

View File

@ -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();