mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-23 17:09:40 +00:00
fix init custom_fps option
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
75d8168070
commit
4963dcf673
1 changed files with 3 additions and 0 deletions
|
|
@ -1140,6 +1140,9 @@ impl LoginConfigHandler {
|
|||
msg.custom_image_quality = quality << 8;
|
||||
n += 1;
|
||||
}
|
||||
if let Some(custom_fps) = self.options.get("custom-fps") {
|
||||
msg.custom_fps = custom_fps.parse().unwrap_or(30);
|
||||
}
|
||||
if self.get_toggle_option("show-remote-cursor") {
|
||||
msg.show_remote_cursor = BoolOption::Yes.into();
|
||||
n += 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue