mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 19:16:59 +08:00
[DE] Fix Bug 35557.
This commit is contained in:
@ -552,7 +552,7 @@ define([
|
||||
toolbarView = toolbarController.getView();
|
||||
|
||||
if (this.appOptions.isEdit && toolbarView && (toolbarView.btnInsertShape.pressed || toolbarView.btnInsertText.pressed) &&
|
||||
( !_.isObject(arguments[1]) || arguments[1].id !== 'tlb-btn-insshape')) { // TODO: Event from api is needed to clear btnInsertShape state
|
||||
( !_.isObject(arguments[1]) || arguments[1].id !== 'tlbtn-insertshape')) { // TODO: Event from api is needed to clear btnInsertShape state
|
||||
if (this.api)
|
||||
this.api.StartAddShape('', false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user