Skip to content

Auto-resize fix for #6#9

Open
TheTechmage wants to merge 1 commit into
twitchintheshell:masterfrom
TheTechmage:master
Open

Auto-resize fix for #6#9
TheTechmage wants to merge 1 commit into
twitchintheshell:masterfrom
TheTechmage:master

Conversation

@TheTechmage

Copy link
Copy Markdown

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) frostyfrog2@gmail.com

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) <frostyfrog2@gmail.com>
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