mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 17:42:41 +08:00
Fix Label error when setting font in editor (#3084)
This commit is contained in:
@@ -135,6 +135,7 @@ let _maxLineWidth = 0;
|
||||
module.exports = {
|
||||
updateRenderData (comp) {
|
||||
if (!comp._renderData.vertDirty) return;
|
||||
if (_comp === comp) return;
|
||||
|
||||
_comp = comp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user