1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 23:00:04 -04:00

Update a couple of dependencies (#8009)

* Closes https://github.com/emilk/egui/pull/7992
This commit is contained in:
Emil Ernerfeldt
2026-03-24 15:59:53 +01:00
committed by GitHub
parent a1af9abe70
commit 96cae39fb8
6 changed files with 63 additions and 39 deletions

View File

@@ -36,8 +36,8 @@ mod ios {
| UISceneActivationState::ForegroundInactive
)
{
// Safe to cast, the class kind was checked above
let window_scene = Retained::cast::<UIWindowScene>(scene.clone());
// SAFETY: class kind was checked above with `isKindOfClass`
let window_scene = Retained::cast_unchecked::<UIWindowScene>(scene.clone());
if let Some(window) = window_scene.keyWindow() {
let insets = window.safeAreaInsets();
return SafeAreaInsets(MarginF32 {