mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 10:46:04 +08:00
move updateThemeColors
This commit is contained in:
@ -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) {
|
||||
|
||||
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user