Fix bugs
This commit is contained in:
parent
517af51af2
commit
0a49fe5815
|
@ -787,6 +787,8 @@ define(function(){ 'use strict';
|
||||||
textHorizontal: 'Horizontal',
|
textHorizontal: 'Horizontal',
|
||||||
textIn: 'In',
|
textIn: 'In',
|
||||||
textOut: 'Out',
|
textOut: 'Out',
|
||||||
|
textWedge: 'Wedge',
|
||||||
|
textFlip: 'Flip',
|
||||||
|
|
||||||
getEffectGroupData: function () {
|
getEffectGroupData: function () {
|
||||||
return [
|
return [
|
||||||
|
|
|
@ -152,7 +152,7 @@ define([
|
||||||
fillEffect: function () {
|
fillEffect: function () {
|
||||||
var arr = _.where(this.allEffects, {group: this._state.activeGroup, level: this.activeLevel });
|
var arr = _.where(this.allEffects, {group: this._state.activeGroup, level: this.activeLevel });
|
||||||
this.lstEffectList.store.reset(arr);
|
this.lstEffectList.store.reset(arr);
|
||||||
var item = (this._state.activeEffect)?this.lstEffectList.store.findWhere({value: this._state.activeEffect}):this.lstEffectList.store.at(0);
|
var item = (this._state.activeEffect != undefined)?this.lstEffectList.store.findWhere({value: this._state.activeEffect}):this.lstEffectList.store.at(0);
|
||||||
this.lstEffectList.selectRecord(item);
|
this.lstEffectList.selectRecord(item);
|
||||||
this._state.activeEffect = item.get('value');
|
this._state.activeEffect = item.get('value');
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue