From 31eee86bcd6ebfb2bd0324a0fff9211f5dc58fee Mon Sep 17 00:00:00 2001 From: zilongshanren Date: Mon, 24 Apr 2017 17:43:33 +0800 Subject: [PATCH] remove visible property --- cocos2d/core/components/CCLabel.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/cocos2d/core/components/CCLabel.js b/cocos2d/core/components/CCLabel.js index a8c6efc91b..96aea833e2 100644 --- a/cocos2d/core/components/CCLabel.js +++ b/cocos2d/core/components/CCLabel.js @@ -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);