mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 12:21:55 +00:00
...
This commit is contained in:
parent
f9b1a71edd
commit
3c7305b93c
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ def positive_float(x):
|
|||
|
||||
def adjust_line_height(x):
|
||||
if x.endswith('%'):
|
||||
return float(x[:-1]) / 100.0
|
||||
return float(x[:-1].strip()) / 100.0
|
||||
return int(x)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue