LT-250: Fixing non-active state issue for toolbar
This commit is contained in:
1 parent
35711b057d
commit
022c534895
4 files changed
+23
-12
No files matched your search
@@ -115,7 +115,6 @@ Template.toolbarSection.events({
|
||||
var elements = $('.imageViewerViewport');
|
||||
|
||||
var activeTool = toolManager.getActiveTool();
|
||||
$('.toolbarSectionButton').removeClass('active');
|
||||
if (tool === activeTool) {
|
||||
var defaultTool = toolManager.getDefaultTool();
|
||||
console.log('Setting active tool to: ' + defaultTool);
|
||||
|
||||
Reference in new issue
Block a user