Skip to content

Commit

Permalink
Merge pull request adobe#369 from humphd/issue367
Browse files Browse the repository at this point in the history
Fix adobe#367 - Resize only works when you've first moved the divider
  • Loading branch information
humphd committed Jun 25, 2015
2 parents 06de738 + 62efd9b commit 079e94e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/extensions/default/bramble/lib/RemoteCommandHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ define(function (require, exports, module) {
var SidebarView = brackets.getModule("project/SidebarView");
var StatusBar = brackets.getModule("widgets/StatusBar");
var WorkspaceManager = brackets.getModule("view/WorkspaceManager");

var BrambleEvents = brackets.getModule("bramble/BrambleEvents");

var PostMessageTransport = require("lib/PostMessageTransport");
var Theme = require("lib/Theme");
var UI = require("lib/UI");
Expand Down Expand Up @@ -75,6 +76,7 @@ define(function (require, exports, module) {
case "RESIZE":
// The host window was resized, update all panes
WorkspaceManager.recomputeLayout(true);
BrambleEvents.triggerUpdateLayoutEnd();
break;
default:
console.log('[Bramble] unknown command:', command);
Expand Down

0 comments on commit 079e94e

Please sign in to comment.