[DE] Загрузка текстур для автофигур по аналогии с редактором таблиц (по событию).
This commit is contained in:
parent
d7f163e1f9
commit
cae1fe694d
|
@ -607,10 +607,8 @@ define([
|
||||||
this.api = api;
|
this.api = api;
|
||||||
if (this.api) {
|
if (this.api) {
|
||||||
this.api.asc_registerCallback('asc_onImgWrapStyleChanged', _.bind(this._ImgWrapStyleChanged, this));
|
this.api.asc_registerCallback('asc_onImgWrapStyleChanged', _.bind(this._ImgWrapStyleChanged, this));
|
||||||
this.api.SetInterfaceDrawImagePlaceShape('shape-texture-img');
|
this.api.asc_setInterfaceDrawImagePlaceShape('shape-texture-img');
|
||||||
var textures = this.api.get_PropertyStandartTextures();
|
this.api.asc_registerCallback('asc_onInitStandartTextures', _.bind(this.onInitStandartTextures, this));
|
||||||
if (textures)
|
|
||||||
this.onInitStandartTextures(textures);
|
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue