crates/gpui/src/window.rs 🔗
@@ -3112,6 +3112,7 @@ impl Window {
///
/// This method should only be called as part of the prepaint phase of element drawing.
pub fn set_focus_handle(&mut self, focus_handle: &FocusHandle, _: &App) {
+ dbg!(&focus_handle.id);
self.invalidator.debug_assert_prepaint();
if focus_handle.is_focused(self) {
self.next_frame.focus = Some(focus_handle.id);