Merge pull request #94 from nantas/master

add tooltip for node and component title.
This commit is contained in:
Wang Nan
2015-12-21 16:56:04 +08:00
2 changed files with 3 additions and 3 deletions
+2 -1
View File
@@ -239,7 +239,8 @@ var Component = cc.Class({
}
},
displayName: 'Script',
type: cc._Script
type: cc._Script,
tooltip: 'i18n:INSPECTOR.component.script'
},
/**
+1 -2
View File
@@ -235,8 +235,7 @@ var BaseNode = cc.Class(/** @lends cc.Node# */{
this._sgNode.rotation = value;
this.emit(ROTATION_CHANGED, old);
}
},
tooltip: "The clockwise degrees of rotation relative to the parent"
}
},
/**