clone ports as unowned and pass outwards

This commit is contained in:
🪞👃🪞 2024-07-04 01:35:02 +03:00
parent 394355331d
commit ddaf870271
9 changed files with 123 additions and 112 deletions

View file

@ -44,7 +44,7 @@ impl<'a> SceneGridView<'a> {
}
pub fn draw_horizontal (&mut self) -> Usually<Rect> {
let (w, h) = self.size_horizontal();
//let (w, h) = self.size_horizontal();
//self.area.x = self.area.x + self.area.width.saturating_sub(w) / 2;
self.area.height = self.tracks.len() as u16 + 2;
//self.area.width = w;