This commit is contained in:
Laura Klünder 2017-11-08 19:42:37 +01:00
parent 7014bdb64b
commit aeb7bd698c

View file

@ -191,7 +191,7 @@ class OpenGLEngine(RenderEngine):
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
if width < one_pixel:
alpha = width/one_pixel