Y coordinates should always be adjusted by Y coordinates.

This commit is contained in:
David Wendt 2020-05-26 23:50:18 -04:00
parent 245cea784f
commit 75aaa49169
1 changed files with 1 additions and 1 deletions

View File

@ -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);