This commit is contained in:
OVSharova 2021-12-12 01:09:16 +03:00
parent 517af51af2
commit 0a49fe5815
2 changed files with 3 additions and 1 deletions

View file

@ -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 [

View file

@ -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');
}, },