fix: sciter, advanced options, UI (#13429)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2025-11-06 17:13:11 +08:00
committed by GitHub
parent 559115c43c
commit a7d2bc63f9
8 changed files with 392 additions and 181 deletions

View File

@@ -203,6 +203,19 @@ pub fn use_texture_render() -> bool {
}
}
#[inline]
pub fn is_option_fixed(key: &str) -> bool {
config::OVERWRITE_DISPLAY_SETTINGS
.read()
.unwrap()
.contains_key(key)
|| config::OVERWRITE_LOCAL_SETTINGS
.read()
.unwrap()
.contains_key(key)
|| config::OVERWRITE_SETTINGS.read().unwrap().contains_key(key)
}
#[inline]
pub fn get_local_option(key: String) -> String {
crate::get_local_option(&key)