Make count fields pub
This commit is contained in:
parent
f641e20f7f
commit
b2c81c163d
1 changed files with 2 additions and 2 deletions
|
|
@ -18,10 +18,10 @@ pub trait Focusable {
|
|||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
|
||||
pub struct Count {
|
||||
/// The index of the current focused widget, if any.
|
||||
focused: Option<usize>,
|
||||
pub focused: Option<usize>,
|
||||
|
||||
/// The total amount of focusable widgets.
|
||||
total: usize,
|
||||
pub total: usize,
|
||||
}
|
||||
|
||||
/// Produces an [`Operation`] that focuses the widget with the given [`Id`].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue