mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-11 22:26:44 +01:00
wip: refactored core
This commit is contained in:
parent
461c60d6b3
commit
c033a5618b
9 changed files with 75 additions and 67 deletions
|
|
@ -20,7 +20,7 @@ impl<'a, T, U> Collect<'a, T, U> for Layered<'a, T, U> {
|
|||
}
|
||||
|
||||
impl<'a> Render<TuiContext, Rect> for Layered<'a, TuiContext, Rect> {
|
||||
fn render (&self, to: &mut impl TuiTarget) -> Perhaps<Rect> {
|
||||
fn render (&self, to: &mut TuiContext) -> Perhaps<Rect> {
|
||||
let area = to.area();
|
||||
for layer in self.0.0.iter() {
|
||||
layer.render(to)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue