Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-resize fix for #6 #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheTechmage
Copy link

This change should allow the VNC window to resize to the size of it's
parent div when ever the window is resized, or when the vnc window
itself is resized. Therefore, this fixes #6.

Based off of
https://github.com/jakozaur/noVNC/blob/master/meteor/novnc.js#L56 since
it was the original code that resized the window (and I don't know
meteor or noVnc really well).

Signed-off-by: Colton Wolkins (Ogre) [email protected]

This change should allow the VNC window to resize to the size of it's
parent div when ever the window is resized, or when the vnc window
itself is resized. Therefore, this fixes twitchintheshell#6.

Based off of
https://github.com/jakozaur/noVNC/blob/master/meteor/novnc.js#L56 since
it was the original code that resized the window (and I don't know
meteor or noVnc really well).

Signed-off-by: Colton Wolkins (Ogre) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VNC window should scale down when exceeding max dimensions
1 participant