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