|pollSizeChanges| is called only on resize, not every 500ms

This commit is contained in:
Sergi Mansilla 2011-02-27 12:44:43 +01:00
commit ff7c1b5182

View file

@ -206,6 +206,7 @@ var Editor =function(renderer, session) {
this.resize = function() { this.resize = function() {
this.renderer.onResize(); this.renderer.onResize();
this.renderer.$textLayer.$pollSizeChanges();
}; };
this.setTheme = function(theme) { this.setTheme = function(theme) {