mirror of
https://github.com/3b1b/manim.git
synced 2025-08-03 04:04:36 +08:00
Account for fixed_in_frame in set_value
This commit is contained in:
@ -124,6 +124,8 @@ class DecimalNumber(VMobject):
|
||||
)
|
||||
new_decimal.move_to(self, self.edge_to_fix)
|
||||
new_decimal.match_style(self)
|
||||
if self.is_fixed_in_frame:
|
||||
new_decimal.fix_in_frame()
|
||||
|
||||
old_family = self.get_family()
|
||||
self.set_submobjects(new_decimal.submobjects)
|
||||
|
Reference in New Issue
Block a user