Skip to content

Commit

Permalink
Fix universe inset being too large on two sides
Browse files Browse the repository at this point in the history
  • Loading branch information
a11ce authored and mfelleisen committed Dec 12, 2024
1 parent c29a0b0 commit db37318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdp-lib/2htdp/private/world.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@
(style '(no-hscroll no-vscroll))
(horizontal-inset INSET)
(vertical-inset INSET)))
(send editor-canvas min-client-width (+ width INSET INSET))
(send editor-canvas min-client-height (+ height INSET INSET))
(send editor-canvas min-client-width (sub1 (+ width INSET INSET)))
(send editor-canvas min-client-height (sub1 (+ height INSET INSET)))
(set!-values (enable-images-button disable-images-button)
(inner (values void void) create-frame/universe frame play-back:cust))
(send editor-canvas focus)
Expand Down

0 comments on commit db37318

Please sign in to comment.