mirror of
https://github.com/3b1b/manim.git
synced 2025-08-21 05:44:04 +00:00
Account for fixed_in_frame in set_value
This commit is contained in:
parent
cd371dc207
commit
feb6a33135
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue