Compare commits

...

1 Commits

Author SHA1 Message Date
Smit Barmase
f935979437 dbg focus 2025-07-16 22:28:41 +05:30

View File

@@ -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);