Fixing activeTool for configurable defaultTool
This commit is contained in:
1 parent
c2c8a43c3a
commit
bdbf807565
1 file changed
+2
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user