mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-28 12:36:35 +00:00
parent
93618177f8
commit
2450cfb6be
1 changed files with 0 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue