[DE] Fix Bug 33038.
This commit is contained in:
parent
f59b72e9ac
commit
ee13c7a3f3
|
@ -520,7 +520,11 @@ define([
|
|||
toolbarView.btnInsertShape.toggle(false, false);
|
||||
toolbarView.btnInsertText.toggle(false, false);
|
||||
}
|
||||
|
||||
if (this.appOptions.isEdit && toolbarView && toolbarView.btnHighlightColor.pressed &&
|
||||
( !_.isObject(arguments[1]) || arguments[1].id !== 'id-toolbar-btn-highlight')) {
|
||||
this.api.SetMarkerFormat(false);
|
||||
toolbarView.btnHighlightColor.toggle(false, false);
|
||||
}
|
||||
application.getController('DocumentHolder').getView('DocumentHolder').focus();
|
||||
|
||||
if (this.api) {
|
||||
|
|
|
@ -2554,7 +2554,7 @@ define([
|
|||
me.api.SetMarkerFormat(true, true, parseInt(r, 16), parseInt(g, 16), parseInt(b, 16));
|
||||
}
|
||||
|
||||
Common.NotificationCenter.trigger('edit:complete', me.toolbar);
|
||||
Common.NotificationCenter.trigger('edit:complete', me.toolbar, me.toolbar.btnHighlightColor);
|
||||
Common.component.Analytics.trackEvent('ToolBar', 'Highlight Color');
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue