Skip to content

Commit 4fe69c8

Browse files
authored
Merge pull request #2078 from Nisatru/fix-combo-box
Fix `ComboBox` widget panic on wasm
2 parents bc1bde0 + 90bd581 commit 4fe69c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

widget/src/combo_box.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use crate::core::mouse;
66
use crate::core::overlay;
77
use crate::core::renderer;
88
use crate::core::text;
9+
use crate::core::time::Instant;
910
use crate::core::widget::{self, Widget};
1011
use crate::core::{Clipboard, Element, Length, Padding, Rectangle, Shell};
1112
use crate::overlay::menu;
@@ -14,7 +15,6 @@ use crate::{container, scrollable, text_input, TextInput};
1415

1516
use std::cell::RefCell;
1617
use std::fmt::Display;
17-
use std::time::Instant;
1818

1919
/// A widget for searching and selecting a single value from a list of options.
2020
///

0 commit comments

Comments
 (0)