Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
force the renderer to resize onblur
Browse files Browse the repository at this point in the history
fixes Bug 676239 - cant see last line of cod e in builder when there are enough lines that vertical scroll bar is needed. last line it is covered by the horizontal scroll bar
  • Loading branch information
seanmonstar committed Feb 21, 2012
1 parent 5f449c8 commit c57f191
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions media/jetpack/js/ide/views/FDEditor.Ace.js
Expand Up @@ -74,6 +74,11 @@ module.exports = new Class({
that.emit(ev);
});
});
this.editor.on('blur', function() {
log.debug('Editor blurred, forcing resize of renderer.');
that.editor.renderer.onResize(true); // force = true
});

},

setEditable: function() {
Expand Down

0 comments on commit c57f191

Please sign in to comment.