From 6043dfbb7434c6a3d25203965d32c6b139a10960 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Thu, 28 Jan 2021 10:51:26 +0300 Subject: api refactoring --- web/share/js/kvm/stream.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web') 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; -- cgit v1.2.3