chore(menu): fix warnings about public visibility

This commit is contained in:
Michael Aaron Murphy 2024-06-27 00:19:03 +02:00
parent 61760f8e4e
commit 7e30695c52
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -72,7 +72,7 @@ pub enum PathHighlight {
/// X+ goes right and Y+ goes down
#[derive(Debug, Clone, Copy)]
pub(super) enum Direction {
pub(crate) enum Direction {
Positive,
Negative,
}
@ -289,7 +289,7 @@ impl MenuBounds {
}
}
pub(super) struct MenuState {
pub(crate) struct MenuState {
pub(super) index: Option<usize>,
scroll_offset: f32,
menu_bounds: MenuBounds,