Rob Wu 47f2c14723 Optimize text layer: Avoid unneeded .textContent
Built-in DOM properties are slower than plain JS properties.
A few lines before, textContent is assigned as follows:
  textDiv.textContent = geom.str;
So replacing textDiv.textContent.length with geom.str.length slightly
improves performance without side effects.
2015-07-25 10:55:00 +02:00
..
2015-02-17 11:07:37 -05:00
2015-05-16 11:20:36 -05:00
2015-02-17 11:07:37 -05:00