Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Textualize/textual into themes
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Oct 28, 2024
2 parents 2608413 + 3992a38 commit 5fc78ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/textual/_resolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def resolve(

fraction_gutter = Fraction(gutter)
offsets = [0] + [
fraction.__int__()
fraction.__floor__()
for fraction in accumulate(
value
for fraction in resolved_fractions
Expand Down
6 changes: 3 additions & 3 deletions src/textual/layouts/vertical.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ def arrange(
_WidgetPlacement(
_Region(
box_margin.left,
y.__int__(),
content_width.__int__(),
next_y.__int__() - y.__int__(),
y.__floor__(),
content_width.__floor__(),
next_y.__floor__() - y.__floor__(),
),
box_margin,
widget,
Expand Down

0 comments on commit 5fc78ae

Please sign in to comment.