sequencer zoom; still slooo

This commit is contained in:
🪞👃🪞 2024-07-02 16:30:16 +03:00
parent 939ffe3630
commit 2f96897d39
9 changed files with 111 additions and 73 deletions

View file

@ -199,8 +199,8 @@ pub fn render (state: &Launcher, buf: &mut Buffer, mut area: Rect) -> Usually<Re
area.height = y;
if state.show_help {
let style = Some(Style::default().bold().white().not_dim().on_black().italic());
let hide = "[Left Right] Track [Up Down] Scene [, .] Value [F1] Toggle help ";
hide.blit(buf, width - hide.len() as u16, height - 1, style);
let hide = "[Tab] Mode [Arrows] Move [.,] Value [F1] Toggle help ";
hide.blit(buf, x + (width - hide.len() as u16) / 2, height - 1, style);
}
Ok(area)
}