Skip to content

Commit

Permalink
Fix component initial window size #26
Browse files Browse the repository at this point in the history
  • Loading branch information
DraTeots committed Oct 30, 2024
1 parent 9ec532b commit 5c564db
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,9 @@ export class MainDisplayComponent implements OnInit, AfterViewInit {
window.addEventListener('resize', () => {
this.onRendererElementResize();
});

// Set proper window size now
resizeInvoker();
}

private onRendererElementResize() {
Expand Down

0 comments on commit 5c564db

Please sign in to comment.