Skip to content

Commit

Permalink
fix: null return for root bounds being null on dom rect
Browse files Browse the repository at this point in the history
  • Loading branch information
alexh-compyl committed Jan 3, 2025
1 parent f857d21 commit cea6031
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ function remove(callbackId) {
}
function toEntryObject(entry) {
function toRectReadOnlyObject(obj) {
if (!obj) return null;
return {
X: obj.x,
Y: obj.y,
Expand Down

0 comments on commit cea6031

Please sign in to comment.