Skip to content

Commit

Permalink
Set scaleViewPort to true
Browse files Browse the repository at this point in the history
Was missed when I undid all the queryparam stuff
  • Loading branch information
yuvipanda committed Feb 3, 2024
1 parent ee058cf commit ac8c768
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ const rfb = new RFB(
rfb.addEventListener("connect", connectedToServer);
rfb.addEventListener("disconnect", disconnectedFromServer);

// Scale our viewport so the user doesn't have to scroll
rfb.scaleViewport = true;

// Clipboard
function toggleClipboardPanel() {
document
Expand Down

0 comments on commit ac8c768

Please sign in to comment.