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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user