Y coordinates should always be adjusted by Y coordinates.
This commit is contained in:
parent
245cea784f
commit
75aaa49169
|
@ -564,7 +564,7 @@ impl<'gc> TDisplayObject<'gc> for EditText<'gc> {
|
|||
write.bounds.set_height(Twips::from_pixels(new_height));
|
||||
|
||||
let new_x = write.bounds.x_min + matrix.tx;
|
||||
let new_y = write.bounds.y_min + matrix.tx;
|
||||
let new_y = write.bounds.y_min + matrix.ty;
|
||||
|
||||
write.bounds.set_x(new_x);
|
||||
write.bounds.set_y(new_y);
|
||||
|
|
Loading…
Reference in New Issue