Fix overlay::Menu
implementation
This commit is contained in:
parent
d83e263abe
commit
92361ef07d
@ -350,7 +350,7 @@ where
|
||||
|
||||
*self.hovered_option = Some(
|
||||
((cursor_position.y - bounds.y)
|
||||
/ f32::from(text_size + self.padding * 2))
|
||||
/ f32::from(text_size + self.padding.vertical()))
|
||||
as usize,
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user