summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/share/js/kvm/stream.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js
index 44a28b96..3490d046 100644
--- a/web/share/js/kvm/stream.js
+++ b/web/share/js/kvm/stream.js
@@ -98,7 +98,8 @@ export function Streamer() {
}
if (!$("stream-desired-fps-slider").activated) {
- $("stream-desired-fps-slider").max = state.limits.max_fps;
+ $("stream-desired-fps-slider").min = state.limits.desired_fps.min;
+ $("stream-desired-fps-slider").max = state.limits.desired_fps.max;
wm.setElementEnabled($("stream-desired-fps-slider"), true);
if ($("stream-desired-fps-slider").value !== state.streamer.source.desired_fps) {
$("stream-desired-fps-slider").value = state.streamer.source.desired_fps;