Skip to content

Commit

Permalink
fix: use parent margin right
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinschaul committed Mar 17, 2024
1 parent 11600aa commit 314678d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ const addParent = (
};

const right = <Body>{
minX: parentBounds.width - parentMargin.left,
minX: parentBounds.width - parentMargin.right,
minY: -parentThickness,
maxX: parentBounds.width + parentThickness,
maxY: parentBounds.height + parentThickness,
Expand Down

0 comments on commit 314678d

Please sign in to comment.