New layout: application actions sticking to the right edge

This commit is contained in:
Vince
2013-06-15 19:04:36 +02:00
parent af95a41e52
commit 13de7cbcfb
4 changed files with 39 additions and 24 deletions

View File

@@ -58,7 +58,7 @@
this.selectTool_(this.toolInstances[tool]);
// Show tool as selected:
$('#menubar .tool-icon.selected').removeClass('selected');
$('#tool-section .tool-icon.selected').removeClass('selected');
clickedTool.addClass('selected');
}
}
@@ -105,7 +105,7 @@
// Set SimplePen as default selected tool:
this.selectTool_(this.toolInstances.simplePen);
// Activate listener on tool panel:
$("#menubar").click($.proxy(this.onToolIconClicked_, this));
$("#tool-section").click($.proxy(this.onToolIconClicked_, this));
// Show/hide the grid on drawing canvas:
$.publish(Events.GRID_DISPLAY_STATE_CHANGED, [this.isShowGridChecked_()]);