From 9100d0c6cb7513e1dd65f306311e8e2fabf01294 Mon Sep 17 00:00:00 2001 From: Konstantin Sofiiuk Date: Fri, 15 May 2020 19:34:58 +0300 Subject: [PATCH] Removed unnecessary stroke multiplier --- manimlib/camera/camera.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/manimlib/camera/camera.py b/manimlib/camera/camera.py index 94c111eb23..da417bff71 100644 --- a/manimlib/camera/camera.py +++ b/manimlib/camera/camera.py @@ -390,12 +390,7 @@ def apply_stroke(self, ctx, vmobject, background=False): self.get_stroke_rgbas(vmobject, background=background), vmobject ) - ctx.set_line_width( - width * self.cairo_line_width_multiple * - # This ensures lines have constant width - # as you zoom in on them. - (self.get_frame_width() / FRAME_WIDTH) - ) + ctx.set_line_width(width * self.cairo_line_width_multiple) ctx.stroke_preserve() return self