Commit cae1fe69 authored by Julia Radzhabova's avatar Julia Radzhabova

[DE] Загрузка текстур для автофигур по аналогии с редактором таблиц (по событию).

parent d7f163e1
......@@ -607,10 +607,8 @@ define([
this.api = api;
if (this.api) {
this.api.asc_registerCallback('asc_onImgWrapStyleChanged', _.bind(this._ImgWrapStyleChanged, this));
this.api.SetInterfaceDrawImagePlaceShape('shape-texture-img');
var textures = this.api.get_PropertyStandartTextures();
if (textures)
this.onInitStandartTextures(textures);
this.api.asc_setInterfaceDrawImagePlaceShape('shape-texture-img');
this.api.asc_registerCallback('asc_onInitStandartTextures', _.bind(this.onInitStandartTextures, this));
}
return this;
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment