mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 05:24:22 +08:00
Updating coordinate system mobjects
This commit is contained in:
@ -46,7 +46,7 @@ class Slider(NumberLine):
|
||||
def add_label(self, tex):
|
||||
label = TexMobject(tex)
|
||||
label.scale(self.label_scale_val)
|
||||
label.move_to(self.main_line.get_top())
|
||||
label.move_to(self.get_top())
|
||||
label.shift(MED_LARGE_BUFF*UP)
|
||||
self.add(label)
|
||||
self.label = label
|
||||
|
Reference in New Issue
Block a user