From d762c04ba0a1c5b2e96f616bdd7a7d2b30e60a66 Mon Sep 17 00:00:00 2001 From: Nicola <47360416+unsettledgames@users.noreply.github.com> Date: Sun, 23 Jan 2022 16:07:04 +0100 Subject: [PATCH] Fixed fill tool bug --- js/tools/FillTool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tools/FillTool.js b/js/tools/FillTool.js index e45d867..98b8019 100644 --- a/js/tools/FillTool.js +++ b/js/tools/FillTool.js @@ -10,7 +10,7 @@ class FillTool extends DrawingTool { if (target.className != 'drawingCanvas') return; - this.fill(mousePos); + FillTool.fill(mousePos); currFile.currentLayer.updateLayerPreview(); new HistoryState().EditCanvas();