core: Mark scale/rotation as dirty when matrix changes
This commit is contained in:
parent
74aa127b74
commit
2af76e10f8
|
@ -117,6 +117,7 @@ impl<'gc> DisplayObjectBase<'gc> {
|
|||
}
|
||||
fn set_matrix(&mut self, _context: MutationContext<'gc, '_>, matrix: &Matrix) {
|
||||
self.transform.matrix = *matrix;
|
||||
self.flags.remove(DisplayObjectFlags::ScaleRotationCached);
|
||||
}
|
||||
fn color_transform(&self) -> &ColorTransform {
|
||||
&self.transform.color_transform
|
||||
|
|
Loading…
Reference in New Issue