mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
wip: return () from render method
This commit is contained in:
parent
5d00e9f284
commit
e3fa292a3c
3 changed files with 167 additions and 140 deletions
|
|
@ -310,7 +310,7 @@ impl<E: Engine> Widget for JackDevice<E> {
|
|||
fn layout (&self, to: E::Size) -> Perhaps<E::Size> {
|
||||
self.state.read().unwrap().layout(to)
|
||||
}
|
||||
fn render (&self, to: &mut E::Output) -> Perhaps<E::Area> {
|
||||
fn render (&self, to: &mut E::Output) -> Usually<()> {
|
||||
self.state.read().unwrap().render(to)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue