Fix #506
This commit is contained in:
parent
c062b84bc6
commit
14459a7d18
@ -254,7 +254,9 @@ def top_blank_rect(w, rects):
|
|||||||
|
|
||||||
def bottom_blank_rect(w, rects):
|
def bottom_blank_rect(w, rects):
|
||||||
b = w.geometry.bottom
|
b = w.geometry.bottom
|
||||||
if b < central.bottom:
|
# Need to use <= here as otherwise a single pixel row at the bottom of the
|
||||||
|
# window is sometimes not covered. See https://github.com/kovidgoyal/kitty/issues/506
|
||||||
|
if b <= central.bottom:
|
||||||
rects.append(Rect(central.left, b, central.right + 1, central.bottom + 1))
|
rects.append(Rect(central.left, b, central.right + 1, central.bottom + 1))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user