summaryrefslogtreecommitdiffstats
path: root/native/src/widget/combo_box.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-05-23 01:07:59 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-08 11:12:47 +0200
commit0ff5a02550e5d5de8fb5fd0643ea424d9e508888 (patch)
treeac4e89799a88d1405b0b1c1d6f370328f78ef4a6 /native/src/widget/combo_box.rs
parenta2642366240f64f0699fe5fc048b99ace2031751 (diff)
downloadiced-0ff5a02550e5d5de8fb5fd0643ea424d9e508888.tar.gz
iced-0ff5a02550e5d5de8fb5fd0643ea424d9e508888.tar.bz2
iced-0ff5a02550e5d5de8fb5fd0643ea424d9e508888.zip
Rename `Layer` to `overlay::Content`
Diffstat (limited to 'native/src/widget/combo_box.rs')
-rw-r--r--native/src/widget/combo_box.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/native/src/widget/combo_box.rs b/native/src/widget/combo_box.rs
index 0f249282..2adee884 100644
--- a/native/src/widget/combo_box.rs
+++ b/native/src/widget/combo_box.rs
@@ -1,7 +1,8 @@
use crate::{
- layer::{self, menu},
- layout, mouse, scrollable, text, Clipboard, Element, Event, Hasher, Layout,
- Length, Overlay, Point, Rectangle, Size, Widget,
+ layout, mouse,
+ overlay::menu::{self, Menu},
+ scrollable, text, Clipboard, Element, Event, Hasher, Layout, Length,
+ Overlay, Point, Rectangle, Size, Widget,
};
use std::borrow::Cow;
@@ -214,7 +215,7 @@ where
Some(Overlay::new(
layout.position(),
- Box::new(layer::Menu::new(
+ Box::new(Menu::new(
menu,
self.options.clone(),
on_selected,