Skip to content

Commit

Permalink
Add inner getters to FocusTracker (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgilbert authored Jun 18, 2024
1 parent dd5fc63 commit 17b97a9
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 17b97a9

Please sign in to comment.