dbg focus

This commit is contained in:
Smit Barmase 2025-07-16 22:28:41 +05:30
parent 313f5968eb
commit f935979437
No known key found for this signature in database

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