Skip to content

Commit

Permalink
Fix rendering bug with left margin dimension (david-yz-liu#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonieaj authored Jul 9, 2024
1 parent f7983b6 commit b340931
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### 🐛 Bug fixes

- Fixed issue where object boxes would be drawn on top of stack frames in diagrams with large left margins.

### 📚 Documentation and demo website changes

### 🔧 Internal changes
Expand Down
2 changes: 1 addition & 1 deletion memory-viz/src/automate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function drawAutomatedStackFrames(stack_frames: DrawnEntity[], configuration) {
min_required_height = height + min_required_height;
}

required_width += configuration.padding;
required_width += configuration.left_margin;

return {
StackFrames: draw_stack_frames,
Expand Down
Loading

0 comments on commit b340931

Please sign in to comment.