From b2c81c163d5cb17c3931db1a807c788b19f4b7c0 Mon Sep 17 00:00:00 2001 From: Cory Forsstrom Date: Wed, 4 Jan 2023 09:50:56 -0800 Subject: [PATCH] Make count fields pub --- native/src/widget/operation/focusable.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/src/widget/operation/focusable.rs b/native/src/widget/operation/focusable.rs index 0067006bbd..312e48943d 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, + pub focused: Option, /// The total amount of focusable widgets. - total: usize, + pub total: usize, } /// Produces an [`Operation`] that focuses the widget with the given [`Id`].