File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed
tests/test_graphical_units Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 68
68
uses : teatimeguest/setup-texlive-action@v2
69
69
with :
70
70
cache : true
71
- packages : scheme-basic fontspec inputenc fontenc tipa mathrsfs calligra xcolor standalone preview doublestroke ms everysel setspace rsfs relsize ragged2e fundus-calligra microtype wasysym physics dvisvgm jknapltx wasy cm-super babel-english gnu-freefont mathastext cbfonts-fd
71
+ packages : scheme-basic fontspec inputenc fontenc tipa mathrsfs calligra xcolor standalone preview doublestroke ms everysel setspace rsfs relsize ragged2e fundus-calligra microtype wasysym physics dvisvgm jknapltx wasy cm-super babel-english gnu-freefont mathastext cbfonts-fd xetex
72
72
73
73
- name : Start virtual display (Linux)
74
74
if : runner.os == 'Linux'
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ def slide_and_uncover(mob, alpha):
209
209
for letter in mob .anim :
210
210
if mob .square .get_center ()[0 ] > letter .get_center ()[0 ]:
211
211
letter .set_opacity (1 )
212
- self .add (letter )
212
+ self .add_to_back (letter )
213
213
214
214
# Finish animation
215
215
if alpha == 1 :
Original file line number Diff line number Diff line change
1
+ from __future__ import annotations
2
+
3
+ from manim import ManimBanner
4
+ from manim .utils .testing .frames_comparison import frames_comparison
5
+
6
+ __module_test__ = "logo"
7
+
8
+
9
+ @frames_comparison (last_frame = False )
10
+ def test_banner (scene ):
11
+ banner = ManimBanner ()
12
+ scene .play (banner .create (), run_time = 0.5 )
13
+ scene .play (banner .expand (), run_time = 0.5 )
You can’t perform that action at this time.
0 commit comments