Fixing activeTool for configurable defaultTool
This commit is contained in:
parent
c2c8a43c3a
commit
bdbf807565
@ -423,7 +423,8 @@ export const toolManager = {
|
|||||||
Session.set('ToolManagerActiveTool', tool);
|
Session.set('ToolManagerActiveTool', tool);
|
||||||
},
|
},
|
||||||
getActiveTool() {
|
getActiveTool() {
|
||||||
if (!activeTool) {
|
// If toolManager is not initialized, we should set as defaultTool
|
||||||
|
if (!initialized) {
|
||||||
activeTool = defaultTool;
|
activeTool = defaultTool;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user