Skip to content

Commit

Permalink
fixed console resizing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Kareem Zidane committed Oct 6, 2018
1 parent e9490da commit 3af8290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/c9.ide.console/console.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ define(function(require, module, exports) {
// Track splitter and update state
var splitter = consoleRow.$handle;
splitter && splitter.on("dragdrop", function(e) {
height = Math.max(minHeight, container.height);
height = Math.max(minHeight, container.$ext.offsetHeight);
if (height)
settings.set("state/console/@height", height);
emit("resize");
Expand Down

0 comments on commit 3af8290

Please sign in to comment.