diff options
author | Devaev Maxim <[email protected]> | 2021-01-28 10:51:26 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-01-28 10:51:26 +0300 |
commit | 6043dfbb7434c6a3d25203965d32c6b139a10960 (patch) | |
tree | 2cfc6b10cb49aebe569a663c6af2bb92d3ad1bb3 /web | |
parent | 83184952f6f8d834481cd06aee42474c74bb304c (diff) |
api refactoring
Diffstat (limited to 'web')
-rw-r--r-- | web/share/js/kvm/stream.js | 3 |
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; |