Merge pull request #426 from logiclrd/edge-scrolling

Edge scrolling: Accept "scrolledge" value for scroll style in configuration
This commit is contained in:
RustDesk
2025-11-03 14:22:36 +08:00
committed by GitHub

View File

@@ -1948,7 +1948,7 @@ impl UserDefaultConfig {
keys::OPTION_VIEW_STYLE => self.get_string(key, "adaptive", vec!["original"]), keys::OPTION_VIEW_STYLE => self.get_string(key, "adaptive", vec!["original"]),
#[cfg(not(any(target_os = "android", target_os = "ios")))] #[cfg(not(any(target_os = "android", target_os = "ios")))]
keys::OPTION_VIEW_STYLE => self.get_string(key, "original", vec!["adaptive"]), keys::OPTION_VIEW_STYLE => self.get_string(key, "original", vec!["adaptive"]),
keys::OPTION_SCROLL_STYLE => self.get_string(key, "scrollauto", vec!["scrollbar"]), keys::OPTION_SCROLL_STYLE => self.get_string(key, "scrollauto", vec!["scrolledge", "scrollbar"]),
keys::OPTION_IMAGE_QUALITY => { keys::OPTION_IMAGE_QUALITY => {
self.get_string(key, "balanced", vec!["best", "low", "custom"]) self.get_string(key, "balanced", vec!["best", "low", "custom"])
} }