fix, sciter, dpi awareness

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2023-06-20 14:49:06 +08:00
1 parent 2e5eb86c97
commit b1368fb97e
2 files changed
+4 -4

No files matched your search

+4
View File
@@ -27,6 +27,10 @@ fn main() {
if !common::global_init() {
return;
}
#[cfg(all(windows, not(feature = "inline")))]
unsafe {
winapi::um::shellscalingapi::SetProcessDpiAwareness(2);
}
if let Some(args) = crate::core_main::core_main().as_mut() {
ui::start(args);
}