summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--native/src/widget/operation/focusable.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/widget/operation/focusable.rs b/native/src/widget/operation/focusable.rs
index 0067006b..312e4894 100644
--- a/native/src/widget/operation/focusable.rs
+++ b/native/src/widget/operation/focusable.rs
@@ -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`].