summaryrefslogtreecommitdiff
path: root/web/share/js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-01-28 10:51:26 +0300
committerDevaev Maxim <[email protected]>2021-01-28 10:51:26 +0300
commit6043dfbb7434c6a3d25203965d32c6b139a10960 (patch)
tree2cfc6b10cb49aebe569a663c6af2bb92d3ad1bb3 /web/share/js
parent83184952f6f8d834481cd06aee42474c74bb304c (diff)
api refactoring
Diffstat (limited to 'web/share/js')
-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;