Started magic wand

This commit is contained in:
Nicola
2022-01-09 23:53:28 +01:00
parent 8eebb35df6
commit 4c4fbede6e
5 changed files with 31 additions and 1 deletions

View File

@ -18,6 +18,8 @@ const ToolManager = (() => {
{type: 'cursor', style:'crosshair'}, switchTool, tools["moveselection"]);
tools["lassoselect"] = new LassoSelectionTool("lassoselect",
{type: 'cursor', style:'crosshair'}, switchTool, tools["moveselection"]);
tools["magicwand"] = new MagicWandTool("magicwand",
{type: 'cursor', style:'crosshair'}, switchTool, tools["movetool"]);
currTool = tools["brush"];
currTool.onSelect();