...
This commit is contained in:
parent
f9b1a71edd
commit
3c7305b93c
@ -200,7 +200,7 @@ def positive_float(x):
|
|||||||
|
|
||||||
def adjust_line_height(x):
|
def adjust_line_height(x):
|
||||||
if x.endswith('%'):
|
if x.endswith('%'):
|
||||||
return float(x[:-1]) / 100.0
|
return float(x[:-1].strip()) / 100.0
|
||||||
return int(x)
|
return int(x)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user