1
0

Layout the popup after initial render.

This commit is contained in:
2019-04-06 17:55:15 +02:00
parent a9d2c712db
commit 10a56cfbed
4 changed files with 249 additions and 167 deletions

View File

@@ -40,7 +40,6 @@ class App extends React.Component {
this.setState({popupVisible: false});
}
onPopupLayout (currentLayout) {
return [
(window.innerWidth - CUSTOM_DIMENSION) / 2,
(window.innerHeight - CUSTOM_DIMENSION) / 2,