code 寫死就會造成 延展性不佳
case KeyEvent.DOM_VK_CC:
case KeyEvent.DOM_VK_SUBTITLE:
var subObj = this.curData.value[this.selected];
if (this.subtitle_cc_show == false && this.selected == 0 && (typeof(subObj) == 'object' && (Array.isArray(subObj.value) || subObj.hasOwnProperty('showMode')))) {
this.curData.focusIndex = this.selected;
this._list_submenu_init(subObj);
this.subtitle_cc_show = true;
return false;
No comments:
Post a Comment