mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
remove visible property
This commit is contained in:
@@ -297,9 +297,6 @@ var Label = cc.Class({
|
||||
fontFamily: {
|
||||
default: "Arial",
|
||||
tooltip: 'i18n:COMPONENT.label.font_family',
|
||||
visible : function () {
|
||||
return this.useSystemFont;
|
||||
},
|
||||
notify: function () {
|
||||
if (this._sgNode) {
|
||||
this._sgNode.setFontFileOrFamily(this.fontFamily);
|
||||
|
||||
Reference in New Issue
Block a user