[PE] Загрузка текстур для слайда и текстарта по аналогии с редактором таблиц (по событию).
This commit is contained in:
parent
36be6edcd9
commit
e8733eb8b2
|
@ -564,9 +564,7 @@ define([
|
|||
this.api = api;
|
||||
if (this.api) {
|
||||
this.api.SetInterfaceDrawImagePlaceSlide('slide-texture-img');
|
||||
var textures = this.api.get_PropertyStandartTextures();
|
||||
if (textures)
|
||||
this.onInitStandartTextures(textures);
|
||||
this.api.asc_registerCallback('asc_onInitStandartTextures', _.bind(this.onInitStandartTextures, this));
|
||||
}
|
||||
return this;
|
||||
},
|
||||
|
|
|
@ -585,9 +585,7 @@ define([
|
|||
this.api = api;
|
||||
if (this.api) {
|
||||
this.api.SetInterfaceDrawImagePlaceTextArt('textart-texture-img');
|
||||
var textures = this.api.get_PropertyStandartTextures();
|
||||
if (textures)
|
||||
this.onInitStandartTextures(textures);
|
||||
this.api.asc_registerCallback('asc_onInitStandartTextures', _.bind(this.onInitStandartTextures, this));
|
||||
}
|
||||
return this;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue