summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2023-09-11 00:20:04 +0200
committerLibravatar GitHub <noreply@github.com>2023-09-11 00:20:04 +0200
commit4fe69c83f24e85539d711450f6e40d8962f57a86 (patch)
treed46af118d6ca3911986f2ddf2f0f5e92b3d22460 /widget
parentbc1bde0d5ca1ec291f13e108f1543daa75b97848 (diff)
parent90bd581d8ed72ac1a927a90ba04ebdd156fa2922 (diff)
downloadiced-4fe69c83f24e85539d711450f6e40d8962f57a86.tar.gz
iced-4fe69c83f24e85539d711450f6e40d8962f57a86.tar.bz2
iced-4fe69c83f24e85539d711450f6e40d8962f57a86.zip
Merge pull request #2078 from Nisatru/fix-combo-box
Fix `ComboBox` widget panic on wasm
Diffstat (limited to '')
-rw-r--r--widget/src/combo_box.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/combo_box.rs b/widget/src/combo_box.rs
index 044dc0ef..768c2402 100644
--- a/widget/src/combo_box.rs
+++ b/widget/src/combo_box.rs
@@ -6,6 +6,7 @@ use crate::core::mouse;
use crate::core::overlay;
use crate::core::renderer;
use crate::core::text;
+use crate::core::time::Instant;
use crate::core::widget::{self, Widget};
use crate::core::{Clipboard, Element, Length, Padding, Rectangle, Shell};
use crate::overlay::menu;
@@ -14,7 +15,6 @@ use crate::{container, scrollable, text_input, TextInput};
use std::cell::RefCell;
use std::fmt::Display;
-use std::time::Instant;
/// A widget for searching and selecting a single value from a list of options.
///