From b78af74f324a78d3a9d296081cc55d31b422bac3 Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Thu, 22 Feb 2024 12:01:49 +0900 Subject: [PATCH] Update glow_integration.rs --- crates/eframe/src/native/glow_integration.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/eframe/src/native/glow_integration.rs b/crates/eframe/src/native/glow_integration.rs index e82a670ea7a..4ec8be723ad 100644 --- a/crates/eframe/src/native/glow_integration.rs +++ b/crates/eframe/src/native/glow_integration.rs @@ -535,8 +535,8 @@ impl GlowWinitRunning { is_change_to_root = true; if let Some(parent_viewport) = glutin.viewports.get(&viewport.ids.parent) { - let is_differed_parent = parent_viewport.viewport_ui_cb.is_some(); - if is_differed_parent { + let is_deferred_parent = parent_viewport.viewport_ui_cb.is_some(); + if is_deferred_parent { is_change_to_root = false; viewport_id = parent_viewport.ids.this; }