1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 23:13:13 -04:00

eframe: read native window position and size (#1617)

Position and dimensions are available via `eframe::Frame::info().window_info`
This commit is contained in:
TicClick
2022-05-13 10:15:43 +02:00
committed by GitHub
parent aef5942d0f
commit 3c685d7bf6
3 changed files with 40 additions and 1 deletions

View File

@@ -152,6 +152,7 @@ impl AppRunner {
prefer_dark_mode,
cpu_usage: None,
native_pixels_per_point: Some(native_pixels_per_point()),
window_info: None,
};
let storage = LocalStorage::default();