calzoneman / sync

Node.JS Server and JavaScript/HTML Client for synchronizing online media
Other
1.47k stars 234 forks source link

Re-align video and chat when custom CSS is enabled #813

Closed calzoneman closed 5 years ago

calzoneman commented 5 years ago

Reported on IRC.

The default chat/video alignment becomes misaligned on certain custom CSS configurations. Resizing the window fixes the alignment due to triggering the handleVideoResize() callback.

When a user enables custom CSS, or when the CSS is changed for the channel, handleVideoResize() should be called in case the CSS changes the alignment.