Skip to content

Commit

Permalink
Merge branch 'erik-250-tighter-updates' into erik-300-add-elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Corry committed Dec 5, 2023
2 parents bc171ac + 30b64d8 commit 238cdd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pixel_display.toit
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ abstract class PixelDisplay implements Window:
round_down (max_canvas_height_ width) y_rounding_
y_rounding_
// Don't widen any more if the patches are already too flat to fill the full height.
if max_height <= driver_.height: break
if max_height < driver_.height: break
// Don't widen any more if the patches already cover the whole width.
if width >= driver_.width: break
width_target += width_target
Expand Down

0 comments on commit 238cdd8

Please sign in to comment.