mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 06:08:33 +08:00
[PDF] Fix text comment color
This commit is contained in:
@ -2647,7 +2647,7 @@ define([
|
||||
},
|
||||
|
||||
onBtnFontColor: function() {
|
||||
this.documentHolder.mnuFontColorPicker.trigger('select', this.documentHolder.mnuFontColorPicker, this.documentHolder.mnuFontColorPicker.currentColor);
|
||||
this.documentHolder.mnuFontColorPicker.trigger('select', this.documentHolder.mnuFontColorPicker, this.documentHolder.mnuFontColorPicker.currentColor || this.documentHolder.btnFontColor.currentColor);
|
||||
},
|
||||
|
||||
onComboBlur: function() {
|
||||
|
||||
@ -2098,7 +2098,7 @@ define([
|
||||
},
|
||||
|
||||
onBtnFontColor: function() {
|
||||
this.toolbar.mnuFontColorPicker.trigger('select', this.toolbar.mnuFontColorPicker, this.toolbar.mnuFontColorPicker.currentColor);
|
||||
this.toolbar.mnuFontColorPicker.trigger('select', this.toolbar.mnuFontColorPicker, this.toolbar.mnuFontColorPicker.currentColor || this.toolbar.btnFontColor.currentColor);
|
||||
},
|
||||
|
||||
onEditTextClick: function() {
|
||||
|
||||
@ -2038,6 +2038,7 @@ define([
|
||||
split: true,
|
||||
menu: true,
|
||||
colors: config.colors,
|
||||
color: '000000',
|
||||
dynamiccolors: config.dynamiccolors,
|
||||
themecolors: config.themecolors,
|
||||
effects: config.effects,
|
||||
@ -2049,6 +2050,7 @@ define([
|
||||
textBarBtns.push(this.btnFontColor);
|
||||
this.btnFontColor.setMenu();
|
||||
this.mnuFontColorPicker = this.btnFontColor.getPicker();
|
||||
this.btnFontColor.currentColor = this.btnFontColor.color;
|
||||
|
||||
return container;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user