Implement Widget::draw for Toggler
This commit is contained in:
parent
f625797392
commit
1c2792c0a0
3 changed files with 86 additions and 63 deletions
|
|
@ -66,9 +66,3 @@ impl renderer::Text for Null {
|
|||
|
||||
fn fill_text(&mut self, _text: renderer::text::Section<'_, Self::Font>) {}
|
||||
}
|
||||
|
||||
impl toggler::Renderer for Null {
|
||||
type Style = ();
|
||||
|
||||
const DEFAULT_SIZE: u16 = 20;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue