Skip to content

Commit

Permalink
Fix bug #64500
Browse files Browse the repository at this point in the history
  • Loading branch information
KhromovNikita committed Oct 10, 2023
1 parent 653afe2 commit 6088994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion word/Editor/GraphicObjects/DrawingStates.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ NullState.prototype =
}
else {
let oViewer = editor.getDocumentRenderer();
let aDrawings = oViewer.pagesInfo.pages[pageIndex].annots || [];
let aDrawings = (oViewer.pagesInfo.pages[pageIndex] && oViewer.pagesInfo.pages[pageIndex].annots) || [];

return AscFormat.handleFloatObjects(this.drawingObjects, aDrawings, e, x, y, null, pageIndex, true);
}
Expand Down

0 comments on commit 6088994

Please sign in to comment.