diff --git a/lib/ace/layer/text.js b/lib/ace/layer/text.js index 953d4411..0fd04272 100644 --- a/lib/ace/layer/text.js +++ b/lib/ace/layer/text.js @@ -1,4 +1,5 @@ /* vim:ts=4:sts=4:sw=4: + * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * @@ -77,13 +78,13 @@ var Text = function(parentEl) { this.$pollSizeChanges = function() { var self = this; - setInterval(function() { + //setInterval(function() { var size = self.$measureSizes(); if (self.$characterSize.width !== size.width || self.$characterSize.height !== size.height) { self.$characterSize = size; self._dispatchEvent("changeCharaterSize", {data: size}); } - }, 500); + //}, 500); }; this.$fontStyles = {