Merge "Make snapshot surface relative to parent" into rvc-dev
This commit is contained in:
@@ -391,6 +391,7 @@ class TaskSnapshotSurface implements StartingSurface {
|
|||||||
frame = null;
|
frame = null;
|
||||||
mTmpSnapshotSize.set(0, 0, buffer.getWidth(), buffer.getHeight());
|
mTmpSnapshotSize.set(0, 0, buffer.getWidth(), buffer.getHeight());
|
||||||
mTmpDstFrame.set(mFrame);
|
mTmpDstFrame.set(mFrame);
|
||||||
|
mTmpDstFrame.offsetTo(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Scale the mismatch dimensions to fill the task bounds
|
// Scale the mismatch dimensions to fill the task bounds
|
||||||
|
|||||||
Reference in New Issue
Block a user