mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-09-18 12:56:42 +02:00
finally adequate performance
This commit is contained in:
parent
d495d97516
commit
7eef0cfb62
7 changed files with 36 additions and 31 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue