Fix a one pixel line not being drawn at the bottom edge of the fat and tall layouts

This commit is contained in:
Kovid Goyal 2021-10-25 15:28:49 +05:30
parent 6da79ab614
commit 0e08c6c660
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -171,7 +171,7 @@ class Tall(Layout):
if is_fat:
xl, yl = yl, xl
yield wg, xl, yl, True
size = (lgd.central.bottom if is_fat else lgd.central.right) - start
size = 1 + (lgd.central.bottom if is_fat else lgd.central.right) - start
ylayout = self.variable_layout(all_windows, self.biased_map)
for i, wg in enumerate(all_windows.iter_all_layoutable_groups()):