Refresh appearance

This commit is contained in:
Nick O'Leary
2015-07-11 23:43:45 +01:00
parent 846ab08661
commit 6bde07b5a0
10 changed files with 86 additions and 86 deletions

View File

@@ -30,7 +30,8 @@ RED.sidebar = (function() {
if (tab.onremove) {
tab.onremove.call(tab);
}
}
},
minimumActiveTabWidth: 110
});
var knownTabs = {
@@ -110,7 +111,7 @@ RED.sidebar = (function() {
var d = ui.position.left-sidebarSeparator.start;
var newSidebarWidth = sidebarSeparator.width-d;
if (sidebarSeparator.opening) {
newSidebarWidth -= 13;
newSidebarWidth -= 3;
}
if (newSidebarWidth > 150) {
@@ -155,7 +156,7 @@ RED.sidebar = (function() {
}
}
$("#sidebar-separator").css("left","auto");
$("#sidebar-separator").css("right",($("#sidebar").width()+13)+"px");
$("#sidebar-separator").css("right",($("#sidebar").width()+3)+"px");
RED.events.emit("sidebar:resize");
}
});