You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As referred on this stackoverflow question by Timothy Louw, particles are rendered only when the HostListener("window.resize") detected changes, triggering the setCanvasSize().
Also so, setCanvasSize() should be moved from the constructor and into ngOnInit()
The text was updated successfully, but these errors were encountered:
As referred on this stackoverflow question by Timothy Louw, particles are rendered only when the
HostListener("window.resize")
detected changes, triggering thesetCanvasSize()
.Also so,
setCanvasSize()
should be moved from the constructor and intongOnInit()
The text was updated successfully, but these errors were encountered: