thunk -> draw
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
i do not exist 2026-08-03 09:41:07 +03:00
parent 5357e83245
commit 8de62463c0
5 changed files with 37 additions and 29 deletions

View file

@ -257,7 +257,7 @@ fn draw_list_item (sample: &Option<Arc<RwLock<Sample>>>) -> String {
fn draw_viewer (sample: Option<&Arc<RwLock<Sample>>>) -> impl Draw<Tui> + use<'_> {
let min_db = -64.0;
thunk(move|to: &mut Tui|{
draw(move|to: &mut Tui|{
let xywh = to.area().into();
let XYWH(x, y, width, height) = xywh;
let area = Rect { x, y, width, height };