move updateThemeColors

This commit is contained in:
OVSharova
2023-09-05 19:09:01 +03:00
parent aca5238848
commit d6ab0db28d
2 changed files with 3 additions and 1 deletions

View File

@ -2041,6 +2041,9 @@ define([
setTimeout(function(){
me.getApplication().getController('Toolbar').updateThemeColors();
}, 50);
setTimeout(function(){
me.getApplication().getController('Animation').updateThemeColors();
}, 50);
},
onSendThemeColors: function(colors, standart_colors) {

View File

@ -2545,7 +2545,6 @@ define([
this.onApiTextColor(this._state.clrtext_asccolor);
}
this._state.clrtext_asccolor = undefined;
this.getApplication().getController('Animation').updateThemeColors();
},
_onInitEditorThemes: function(editorThemes/*array */, documentThemes) {