Make Font an associated type of text_input::Renderer

This commit is contained in:
Imbris 2020-05-29 01:02:22 -04:00
parent ab0ee1a8d0
commit 490a437b2f
3 changed files with 17 additions and 10 deletions

View file

@ -103,6 +103,7 @@ impl scrollable::Renderer for Null {
}
impl text_input::Renderer for Null {
type Font = Font;
type Style = ();
fn default_size(&self) -> u16 {