Correctly pass accessory content.
This commit is contained in:
parent
0974e9e865
commit
f727fa09cd
1 changed files with 2 additions and 0 deletions
|
|
@ -279,6 +279,7 @@ where
|
|||
&self.font,
|
||||
self.placeholder.as_deref(),
|
||||
self.selected.as_ref(),
|
||||
&self.accessory_content,
|
||||
&self.style,
|
||||
)
|
||||
}
|
||||
|
|
@ -580,6 +581,7 @@ pub fn draw<T, Renderer>(
|
|||
font: &Renderer::Font,
|
||||
placeholder: Option<&str>,
|
||||
selected: Option<&T>,
|
||||
accessory_content: &AccessoryContent<Renderer>,
|
||||
style: &<Renderer::Theme as StyleSheet>::Style,
|
||||
) where
|
||||
Renderer: text::Renderer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue