Don't center windows on resize

Fixes #530
This commit is contained in:
Jordan Eldredge 2018-03-28 20:26:48 -07:00
parent 93618177f8
commit 2450cfb6be

View file

@ -34,14 +34,9 @@ class WindowManager extends React.Component {
}
componentDidMount() {
window.addEventListener("resize", this.centerWindows);
this.centerWindows();
}
componentWillUnmount() {
window.removeEventListener("resize", this.centerWindows);
}
centerWindows() {
let offsetLeft = 0;
let offsetTop = 0;