mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 12:21:55 +00:00
Second draw attempt has single fade edge
This commit is contained in:
parent
0ce2a23af3
commit
e3a4150fea
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ def draw_tab_with_fade(
|
|||
extra = screen.cursor.x - before - max_title_length
|
||||
if extra > 0:
|
||||
screen.cursor.x = before
|
||||
draw_title(draw_data, screen, tab, index, max(0, max_title_length - 8))
|
||||
draw_title(draw_data, screen, tab, index, max(0, max_title_length - 4))
|
||||
extra = screen.cursor.x - before - max_title_length
|
||||
if extra > 0:
|
||||
screen.cursor.x -= extra + 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue