finally adequate performance

This commit is contained in:
i do not exist 2026-09-15 00:41:05 +03:00
parent d495d97516
commit 7eef0cfb62
7 changed files with 36 additions and 31 deletions

View file

@ -89,8 +89,12 @@ fn view_scene_name_theme (scene: &Scene, track_index: usize) -> (Arc<str>, ItemT
}
fn with_clips_size (show: bool, size: &Sizer, content: impl Draw<Tui>) -> impl Draw<Tui> {
let wh = east!(size.w() as usize, "x", size.h() as usize);
size.of(above(when(show, fg(Green, wh).align_se().full_wh()), content))
size.of(above(
when(show, fg(Green, east!(
size.w() as usize, "x", size.h() as usize
)).align_se()),
content.align_c().full_wh()
))
}
fn view_scene_bg (