fix typo
This commit is contained in:
parent
7014bdb64b
commit
aeb7bd698c
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ class OpenGLEngine(RenderEngine):
|
||||||
|
|
||||||
width = max(stroke.width, (stroke.min_px or 0) / self.scale) / 2
|
width = max(stroke.width, (stroke.min_px or 0) / self.scale) / 2
|
||||||
|
|
||||||
# if width would be <1px, emulate it thorugh opacity on a 1px width
|
# if width would be <1px, emulate it through opacity on a 1px width
|
||||||
one_pixel = 1 / self.scale / 2
|
one_pixel = 1 / self.scale / 2
|
||||||
if width < one_pixel:
|
if width < one_pixel:
|
||||||
alpha = width/one_pixel
|
alpha = width/one_pixel
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue