]> git.proxmox.com Git - pve-manager.git/commit
add 'auto' mode for noVNC scaling
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 13 Jan 2022 07:56:33 +0000 (08:56 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 13 Jan 2022 11:58:59 +0000 (12:58 +0100)
commit758690bf4d65785913d7677e044062fd7285c728
treecfbb7c754694d8ec5b23557078902132a0ca3e9a
parent545f94e7d25a945704d561cd26673112394be0b1
add 'auto' mode for noVNC scaling

in commit
07195aa079c4ed77866ee4c6af77436b7c2a2e06 ("ui: fix novnc scaling radio button")

we always set to 'scale' when no value was set, but a non-set value
actually had a different behaviour:

in the embedded console it was set to 'scale', but in the pop-up it was
set to 'off'.

to restore this behaviour, introduce an option 'auto' which unsets the
'novnc-scaling' setting

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/window/Settings.js