mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
Merge remote-tracking branch 'github/master' into sigma
# Conflicts: # flutter/lib/desktop/widgets/remote_menubar.dart
This commit is contained in:
@@ -435,9 +435,6 @@ function toggleMenuState() {
|
||||
var c = handler.get_option("codec-preference");
|
||||
if (!c) c = "auto";
|
||||
values.push(c);
|
||||
var a = handler.get_audio_mode();
|
||||
if (!a) a = "guest-to-host";
|
||||
values.push(a);
|
||||
for (var el in $$(menu#display-options li)) {
|
||||
el.attributes.toggleClass("selected", values.indexOf(el.id) >= 0);
|
||||
}
|
||||
@@ -484,6 +481,14 @@ handler.updatePi = function(v) {
|
||||
}
|
||||
}
|
||||
|
||||
handler.updateDisplays = function(v) {
|
||||
pi.displays = v;
|
||||
header.update();
|
||||
if (is_port_forward) {
|
||||
view.windowState = View.WINDOW_MINIMIZED;
|
||||
}
|
||||
}
|
||||
|
||||
function updatePrivacyMode() {
|
||||
var el = $(li#privacy-mode);
|
||||
if (el) {
|
||||
|
||||
Reference in New Issue
Block a user