Permalink
Browse files

Fixed bug where triangle wasn't updating correctly by toggling "scrol…

…l" events on double click show
  • Loading branch information...
1 parent 6edf864 commit ffcef2e3f274c3720bf684d0718e4c02e2b52664 @ryanstewart committed Jun 8, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/project/SidebarView.js
@@ -142,8 +142,10 @@ define(function (require, exports, module) {
$sidebarResizer.on("dblclick", function () {
if ($sidebar.width() < 10) {
- //mousedown is fired first. Sidebar is already toggeled open to 1px.
+ //mousedown is fired first. Sidebar is already toggeled open to at least 10px.
_setWidth(null, true, true);
+ $projectFilesContainer.triggerHandler("scroll");
+ $openFilesContainer.triggerHandler("scroll");
} else {
toggleSidebar(sidebarWidth);
}

0 comments on commit ffcef2e

Please sign in to comment.