fix: sciter, advanced options, UI (#13429)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user