From f33b8d1d2f9d37e51eff4ec113373f0c3948d17d Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Sat, 10 Jun 2023 09:19:32 -0700 Subject: [PATCH] Add stretch_factor in FlashUnder Underline --- manimlib/animation/indication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/animation/indication.py b/manimlib/animation/indication.py index cd01c359..4078078b 100644 --- a/manimlib/animation/indication.py +++ b/manimlib/animation/indication.py @@ -278,7 +278,7 @@ class FlashAround(VShowPassingFlash): class FlashUnder(FlashAround): def get_path(self, mobject: Mobject, buff: float) -> Underline: - return Underline(mobject, buff=buff) + return Underline(mobject, buff=buff, stretch_factor=1.0) class ShowCreationThenDestruction(ShowPassingFlash):