Commit 839e017d authored by Alexander.Trofimov's avatar Alexander.Trofimov

add asc_onInitEditorShapes

parent bfe23293
...@@ -1025,8 +1025,6 @@ var editor; ...@@ -1025,8 +1025,6 @@ var editor;
} else if (null !== this._gui_color_schemes && "asc_onSendThemeColorSchemes" === name) { } else if (null !== this._gui_color_schemes && "asc_onSendThemeColorSchemes" === name) {
this.handlers.trigger("asc_onSendThemeColorSchemes", this._gui_color_schemes); this.handlers.trigger("asc_onSendThemeColorSchemes", this._gui_color_schemes);
this._gui_color_schemes = null; this._gui_color_schemes = null;
} else if ("asc_onInitEditorShapes" === name) {
this.handlers.trigger("asc_onInitEditorShapes", AscCommon.g_oAutoShapesGroups, AscCommon.g_oAutoShapesTypes);
} else if ("asc_onInitEditorTextArts" === name) { } else if ("asc_onInitEditorTextArts" === name) {
this.handlers.trigger("asc_onInitEditorTextArts", [AscCommon.g_oPresetTxWarpGroups, AscCommon.g_PresetTxWarpTypes]); this.handlers.trigger("asc_onInitEditorTextArts", [AscCommon.g_oPresetTxWarpGroups, AscCommon.g_PresetTxWarpTypes]);
} }
...@@ -1527,6 +1525,7 @@ var editor; ...@@ -1527,6 +1525,7 @@ var editor;
this.asc_ApplyColorScheme(false); this.asc_ApplyColorScheme(false);
this.sendStandartTextures(); this.sendStandartTextures();
this.handlers.trigger("asc_onInitEditorShapes", AscCommon.g_oAutoShapesGroups, AscCommon.g_oAutoShapesTypes);
// Применяем пришедшие при открытии изменения // Применяем пришедшие при открытии изменения
this._applyFirstLoadChanges(); this._applyFirstLoadChanges();
......
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