dbg focus
This commit is contained in:
parent
313f5968eb
commit
f935979437
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue