Use Borrow to avoid clone in ComboBox::overlay
This commit is contained in:
parent
9fa0b4da5d
commit
7a105ade27
2 changed files with 15 additions and 22 deletions
|
|
@ -223,7 +223,7 @@ where
|
|||
layout.position(),
|
||||
Box::new(Menu::new(
|
||||
self.internal.menu,
|
||||
self.options.clone(),
|
||||
&self.options,
|
||||
&self.internal.on_selected,
|
||||
bounds.width.round() as u16,
|
||||
bounds.height,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue