Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5004 from lkcampbell/fix-issue-1910
Browse files Browse the repository at this point in the history
Fix for issue #1910: Working set context menu pops closed when right-clicking file that hasn't been opened yet
  • Loading branch information
jasonsanjose committed Sep 5, 2013
2 parents 25ec9fd + 66e36dd commit ae703f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/project/ProjectManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ define(function (require, exports, module) {
}

// reposition the selection triangle
$projectTreeContainer.triggerHandler("scroll");
$projectTreeContainer.triggerHandler("selectionRedraw");

// in-lieu of resize events, manually trigger contentChanged for every
// FileViewController focus change. This event triggers scroll shadows
Expand Down
1 change: 1 addition & 0 deletions src/utils/ViewUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ define(function (require, exports, module) {

$listElement.on("selectionChanged", updateSelectionMarker);
$scrollerElement.on("scroll", updateSelectionTriangle);
$scrollerElement.on("selectionRedraw", updateSelectionTriangle);

// update immediately
updateSelectionMarker();
Expand Down

0 comments on commit ae703f9

Please sign in to comment.