Update widget/src/combo_box.rs

Co-authored-by: Héctor Ramón <hector0193@gmail.com>
This commit is contained in:
Casper Rogild Storm 2023-07-31 23:07:35 +02:00 committed by GitHub
parent 32a95171d2
commit e1da5fa635
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -529,7 +529,7 @@ where
{
if let Some(index) = &mut menu.hovered_option {
if *index
== state
>= state
.filtered_options
.options
.len()