Skip to content

Commit

Permalink
[shapes-merge] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
belozertsev committed Dec 12, 2024
1 parent 3e977fe commit a6eb119
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cell/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -5254,6 +5254,10 @@ var editor;
return AscFormat.canMergeSelectedShapes(operation);
};
spreadsheet_api.prototype.asc_mergeSelectedShapes = function (operation) {
const controller = this.wb.getWorksheet().objectRender.controller;
if (controller.checkSelectedObjectsProtection())
return;

if (this.asc_canMergeSelectedShapes(operation)) {
controller.checkSelectedObjectsAndCallback(
AscFormat.mergeSelectedShapes, [operation], false,
Expand Down

0 comments on commit a6eb119

Please sign in to comment.