mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Remove hard-coded restriction on drawing borders when only a single window is present
Instead this is controlled by the active layout. Fixes #1750
This commit is contained in:
parent
18335b3eac
commit
f722b898b0
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class Borders:
|
|||
bw, pw = self.border_width, self.padding_width
|
||||
if bw + pw <= 0:
|
||||
return
|
||||
draw_borders = bw > 0 and draw_window_borders and len(windows) > 1
|
||||
draw_borders = bw > 0 and draw_window_borders
|
||||
if draw_borders:
|
||||
border_data = current_layout.resolve_borders(windows, active_window)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue