mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-09-21 20:28:06 +00:00
Fix border marking in tall/fat layout
This commit is contained in:
parent
bc66878821
commit
4264889e9a
1 changed files with 3 additions and 2 deletions
|
|
@ -367,8 +367,9 @@ class Tall(Layout):
|
|||
yl.content_pos + ((yl.content_size + yl.space_after) if mirrored else (bw - yl.space_before)),
|
||||
)
|
||||
wid = wg.active_window_id
|
||||
perp_borders.append(BorderLine(e1, color, wid))
|
||||
perp_borders.append(BorderLine(e2, color, wid))
|
||||
mult = 1 if mirrored else -1
|
||||
perp_borders.append(BorderLine(e1, color, -wid))
|
||||
perp_borders.append(BorderLine(e2, color, mult*wid))
|
||||
perp_borders.append(BorderLine(e3, color, wid))
|
||||
|
||||
mirrored = self.layout_opts.mirrored
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue