Added back ZoomTool

This commit is contained in:
Nicola
2022-10-25 12:55:27 +02:00
parent 5d55425e83
commit 574cf23563
3 changed files with 78 additions and 43 deletions

View File

@@ -11,7 +11,7 @@ const ToolManager = (() => {
tools["eyedropper"] = new EyeDropperTool("eyedropper", {type: 'cursor', style: 'crosshair'}, switchTool);
tools["pan"] = new PanTool("pan", {type: 'custom'}, switchTool);
tools["zoom"] = new ZoomTool("zoom", {type:'custom'});
tools["zoom"] = new ZoomTool("zoom", {type:'custom'}, switchTool);
tools["moveselection"] = new MoveSelectionTool("moveselection",
{type:'cursor', style:'crosshair'}, switchTool, tools["brush"]);