FIx Bug 58136
This commit is contained in:
parent
773b3fcc64
commit
e015767597
|
@ -292,10 +292,18 @@ define([
|
||||||
|
|
||||||
onInsertShape: function() {
|
onInsertShape: function() {
|
||||||
// this._settings[Common.Utils.documentSettingsType.Shape].needShow = true;
|
// this._settings[Common.Utils.documentSettingsType.Shape].needShow = true;
|
||||||
|
var idx = this._priorityArr.indexOf(Common.Utils.documentSettingsType.Shape);
|
||||||
|
if (idx>=0)
|
||||||
|
this._priorityArr.splice(idx, 1);
|
||||||
|
this._priorityArr.unshift(Common.Utils.documentSettingsType.Shape);
|
||||||
},
|
},
|
||||||
|
|
||||||
onInsertTextArt: function() {
|
onInsertTextArt: function() {
|
||||||
// this._settings[Common.Utils.documentSettingsType.TextArt].needShow = true;
|
// this._settings[Common.Utils.documentSettingsType.TextArt].needShow = true;
|
||||||
|
var idx = this._priorityArr.indexOf(Common.Utils.documentSettingsType.TextArt);
|
||||||
|
if (idx>=0)
|
||||||
|
this._priorityArr.splice(idx, 1);
|
||||||
|
this._priorityArr.unshift(Common.Utils.documentSettingsType.TextArt);
|
||||||
},
|
},
|
||||||
|
|
||||||
UpdateThemeColors: function() {
|
UpdateThemeColors: function() {
|
||||||
|
|
Loading…
Reference in a new issue