mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
@@ -298,8 +298,9 @@ class Header: Reactor.Component {
|
||||
recording = !recording;
|
||||
header.update();
|
||||
handler.record_status(recording);
|
||||
// 0 is just a dummy value. It will be ignored by the handler.
|
||||
if (recording)
|
||||
handler.refresh_video();
|
||||
handler.refresh_video(0);
|
||||
else
|
||||
handler.record_screen(false, 0, display_width, display_height);
|
||||
}
|
||||
@@ -370,7 +371,8 @@ class Header: Reactor.Component {
|
||||
}
|
||||
|
||||
event click $(#refresh) {
|
||||
handler.refresh_video();
|
||||
// 0 is just a dummy value. It will be ignored by the handler.
|
||||
handler.refresh_video(0);
|
||||
}
|
||||
|
||||
event click $(#block-input) {
|
||||
|
||||
@@ -453,7 +453,7 @@ impl sciter::EventHandler for SciterSession {
|
||||
fn save_view_style(String);
|
||||
fn save_image_quality(String);
|
||||
fn save_custom_image_quality(i32);
|
||||
fn refresh_video();
|
||||
fn refresh_video(i32);
|
||||
fn record_screen(bool, i32, i32, i32);
|
||||
fn record_status(bool);
|
||||
fn get_toggle_option(String);
|
||||
|
||||
Reference in New Issue
Block a user