Continued MagicWand

Only missing moving the selected pixels
This commit is contained in:
Nicola
2022-01-10 23:37:21 +01:00
parent 4c4fbede6e
commit eada0f7ab1
4 changed files with 80 additions and 37 deletions

View File

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