Subtree Update => Framescan

Summary: This is purely a cosmetic change but more accurately reflects the nature of how we send data from device to desktop. Ie its always an entire frame rather than subtrees. This helps with correctness great Both ios and android are like this and have been for a while.

Reviewed By: lblasa

Differential Revision: D45080088

fbshipit-source-id: 8f68047056c4825b0b1dd89f26c7fa462e2ecb1b
This commit is contained in:
Luke De Feo
2023-04-27 07:28:41 -07:00
committed by Facebook GitHub Bot
parent 47fe0641aa
commit 42963b16ab
3 changed files with 38 additions and 20 deletions

View File

@@ -136,7 +136,7 @@ export const Visualization2D: React.FC<
}}>
{snapshotNode && (
<img
src={'data:image/png;base64,' + snapshot.base64Image}
src={'data:image/png;base64,' + snapshot.data}
style={{
marginLeft: toPx(-focusState.focusedRootGlobalOffset.x),
marginTop: toPx(-focusState.focusedRootGlobalOffset.y),