Fix Label error when setting font in editor (#3084)

This commit is contained in:
pandamicro
2018-08-14 12:05:11 +08:00
committed by GitHub
parent 411e52b580
commit 137488c300
@@ -135,6 +135,7 @@ let _maxLineWidth = 0;
module.exports = {
updateRenderData (comp) {
if (!comp._renderData.vertDirty) return;
if (_comp === comp) return;
_comp = comp;