Fixing activeTool for configurable defaultTool

This commit is contained in:
Eloízio Salgado authored and Emanuel F. Oliveira committed 2017-01-29 22:11:19 -02:00
1 parent c2c8a43c3a
commit bdbf807565
1 file changed
+2 -1
@@ -423,7 +423,8 @@ export const toolManager = {
Session.set('ToolManagerActiveTool', tool);
},
getActiveTool() {
if (!activeTool) {
// If toolManager is not initialized, we should set as defaultTool
if (!initialized) {
activeTool = defaultTool;
}