We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd4ec41 commit 3170d7aCopy full SHA for 3170d7a
src/textual/_resolve.py
@@ -70,7 +70,7 @@ def resolve(
70
71
fraction_gutter = Fraction(gutter)
72
offsets = [0] + [
73
- int(fraction)
+ fraction.__floor__()
74
for fraction in accumulate(
75
value
76
for fraction in resolved_fractions
src/textual/layouts/vertical.py
@@ -89,9 +89,9 @@ def arrange(
89
_WidgetPlacement(
90
_Region(
91
box_margin.left,
92
- int(y),
93
- int(content_width),
94
- int(next_y) - int(y),
+ y.__floor__(),
+ content_width.__floor__(),
+ next_y.__floor__() - y.__floor__(),
95
),
96
box_margin,
97
widget,
0 commit comments