Merge pull request #1258 from ONLYOFFICE/fix/bugfix

[DE] Fix highlight color for forms
This commit is contained in:
Julia Radzhabova 2021-10-20 12:23:54 +03:00 committed by GitHub
commit 5fb7d4b6e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -327,6 +327,7 @@ define([
if (config.canEditContentControl) {
me.btnHighlight.setMenu();
me.mnuFormsColorPicker = me.btnHighlight.getPicker();
me.btnHighlight.currentColor && me.mnuFormsColorPicker.selectByRGB(me.btnHighlight.currentColor, true);
me.mnuNoFormsColor.setChecked(me.btnHighlight.currentColor === null);
me.btnHighlight.setColor(me.btnHighlight.currentColor || 'transparent');
} else {