Skip to content

Commit

Permalink
Add inner getters to FocusTracker
Browse files Browse the repository at this point in the history
  • Loading branch information
bgilbert committed Jun 18, 2024
1 parent dd5fc63 commit 5f7d28e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cursive-core/src/views/focus_tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ impl<T: 'static> FocusTracker<T> {
{
self.on_focus_lost = Box::new(f);
}

inner_getters!(self.view: T);
}

impl<T: View> ViewWrapper for FocusTracker<T> {
Expand Down

0 comments on commit 5f7d28e

Please sign in to comment.