exit updateDOMRect if width or height is zero

zsviczian-renderscene-error
zsviczian 2 years ago committed by GitHub
parent 2b4462c941
commit 4426275184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6166,6 +6166,10 @@ class App extends React.Component<AppProps, AppState> {
return;
}
if (width === 0 || height === 0) {
return;
}
this.setState(
{
width,

Loading…
Cancel
Save