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TMD4AP4OEUYAXZUFNY5IWFLZSQC
WSDL57547MWQ2WUVY24A6KUOUJ4XBIS5QHHZ44X2RFOXE6NWAIAAC
A75BWKGRLUDH3KF4M2HJYLNC6BSV5MAJFV2RJSF757F46HLRLCKQC
IZUPWMKDP7DYVZT4LI6WA4X2KGSLZ4GPVAYKDDNJUMRJ6AVZJLAAC
QUT2VGNOS2XSDLSYCSMILCKF343M56MRPRSUWN4GXWPGCK6APK2QC
4TYJCGT4MTCAH7GSJJWFQPPHZNAUQZDEIZYT365EYTMXS7D2MTNAC
AAKN4XJLZ2GARZMUFYX3CJZKYHTRRZDYNTFRLMY7VPAY7K6W4N3QC
NIYF4R7SECNOBIZNKAR627Q5BW7ANIFCKKKPHOM2OZIBVEGYWWZQC
ZHOSSPNKGFIKSFPDXCGLMSYMMX2J433VU2BUUWBKUH7TOLQUBSPQC
WO2ALETBVNH7N3NXJ6JKWCQ2YIZN6LBO7WEXPHAT3EQQJEUCJITQC
export type PixiComponentState = {
orientation: "original" | "rotated", // rotated === we are forcing landscape-in-portrait
innerWidth: number,
innerHeight: number,
}
let [batchedSetPixiComponentState, fireBatchedSetPixiComponentState] =
useMemo(() => batchify(setPixiComponentState), [setPixiComponentState]);
let [batchedSetWindowState, fireBatchedSetWindowState] =
useMemo(() => batchify(setWindowState), [setWindowState]);
// const [application, setApplication] = useState(() => new PixiReactBridge({
// originalWindowWidth: window.innerWidth,
// originalWindowHeight: window.innerHeight,
// }));
<PixiWrapperComponent application={application} pixiComponentState={pixiComponentState} fireBatchedSetPixiComponentState={fireBatchedSetPixiComponentState}/>
<PixiWrapperComponent application={application} windowState={windowState} fireBatchedSetWindowState={fireBatchedSetWindowState}/>
.button {
font-size: x-large;
color: #FF0000
}