Added back eyedropper

This commit is contained in:
unsettledgames
2021-11-01 11:33:18 +01:00
parent d034bbc659
commit 32fb4ca943
9 changed files with 129 additions and 15 deletions

View File

@ -4,6 +4,7 @@ const ToolManager = (() => {
rectangleTool = new RectangleTool("rectangle", {type: 'html'}, switchTool);
lineTool = new LineTool("line", {type: 'html'}, switchTool);
fillTool = new FillTool("fill", {type: 'cursor', pic: 'fill.png'}, switchTool);
eyedropperTool = new EyedropperTool("eyedropper", {type: 'cursor', pic: 'none'}, switchTool);
currTool = brushTool;
currTool.onSelect();