Merge "Fix inverted vertical offset of entering rotated PiP" into sc-dev
This commit is contained in:
@@ -149,10 +149,10 @@ public class PipSurfaceTransactionHelper {
|
||||
// Shrink bounds (expand insets) in destination orientation.
|
||||
if (clockwise) {
|
||||
positionX -= insets.top * scale;
|
||||
positionY -= insets.left * scale;
|
||||
positionY += insets.left * scale;
|
||||
} else {
|
||||
positionX += insets.top * scale;
|
||||
positionY += insets.left * scale;
|
||||
positionY -= insets.left * scale;
|
||||
}
|
||||
}
|
||||
mTmpTransform.setScale(scale, scale);
|
||||
|
||||
Reference in New Issue
Block a user