Изменение функций в сдк.
This commit is contained in:
parent
e436a3a17f
commit
aead32ecd2
|
@ -1060,7 +1060,7 @@ define([
|
||||||
|
|
||||||
createDelayedElements: function() {
|
createDelayedElements: function() {
|
||||||
this.UpdateThemeColors();
|
this.UpdateThemeColors();
|
||||||
this.fillTransform(this.api.get_PropertyEditorTextArts());
|
this.fillTransform(this.api.asc_getPropertyEditorTextArts());
|
||||||
},
|
},
|
||||||
|
|
||||||
fillTextArt: function() {
|
fillTextArt: function() {
|
||||||
|
|
|
@ -1498,7 +1498,7 @@ define([
|
||||||
this.PatternFillType = this.patternViewData[0].type;
|
this.PatternFillType = this.patternViewData[0].type;
|
||||||
}
|
}
|
||||||
this.UpdateThemeColors();
|
this.UpdateThemeColors();
|
||||||
this.fillTransform(this.api.get_PropertyEditorTextArts());
|
this.fillTransform(this.api.asc_getPropertyEditorTextArts());
|
||||||
},
|
},
|
||||||
|
|
||||||
onInitStandartTextures: function(texture) {
|
onInitStandartTextures: function(texture) {
|
||||||
|
|
|
@ -587,7 +587,7 @@ define([
|
||||||
if (this.api) {
|
if (this.api) {
|
||||||
this.api.asc_setInterfaceDrawImagePlaceTextArt('textart-texture-img');
|
this.api.asc_setInterfaceDrawImagePlaceTextArt('textart-texture-img');
|
||||||
this.api.asc_registerCallback('asc_onInitStandartTextures', _.bind(this.onInitStandartTextures, this));
|
this.api.asc_registerCallback('asc_onInitStandartTextures', _.bind(this.onInitStandartTextures, this));
|
||||||
this.api.asc_registerCallback('asc_onInitEditorTextArts', _.bind(this.fillTransform, this));
|
this.fillTransform(this.api.asc_getPropertyEditorTextArts());
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue