mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 21:26:43 +01:00
fix track title and corners overlap
This commit is contained in:
parent
db5a96a7e4
commit
0f6c09cf2b
4 changed files with 80 additions and 68 deletions
|
|
@ -17,21 +17,18 @@ submod! {
|
|||
|
||||
pub const PPQ: usize = 96;
|
||||
|
||||
pub const CORNERS: CornersTall = CornersTall(NOT_DIM_GREEN);
|
||||
pub const CORNERS: CornersTall = CornersTall(CORNERS_STYLE);
|
||||
tui_style!(CORNERS_STYLE =
|
||||
Some(Color::Rgb(96, 255, 32)), None, None, Modifier::empty(), Modifier::DIM);
|
||||
|
||||
/// Octave number (from -1 to 9)
|
||||
pub const NTH_OCTAVE: [&'static str;11] = [
|
||||
"-1", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"
|
||||
];
|
||||
|
||||
tui_style!(GRAY_DIM =
|
||||
Some(Color::Gray), None, None, Modifier::DIM, Modifier::empty());
|
||||
tui_style!(GRAY_NOT_DIM_BOLD =
|
||||
Some(Color::Gray), None, None, Modifier::BOLD, Modifier::DIM);
|
||||
tui_style!(NOT_DIM_GREEN =
|
||||
Some(Color::Rgb(96, 255, 32)), Some(COLOR_BG1), None, Modifier::empty(), Modifier::DIM);
|
||||
tui_style!(WHITE_NOT_DIM_BOLD =
|
||||
Some(Color::White), None, None, Modifier::BOLD, Modifier::DIM);
|
||||
tui_style!(GRAY_DIM = Some(Color::Gray), None, None, Modifier::DIM, Modifier::empty());
|
||||
tui_style!(GRAY_NOT_DIM_BOLD = Some(Color::Gray), None, None, Modifier::BOLD, Modifier::DIM);
|
||||
tui_style!(WHITE_NOT_DIM_BOLD = Some(Color::White), None, None, Modifier::BOLD, Modifier::DIM);
|
||||
|
||||
pub fn random_okhsl () -> Okhsl<f32> {
|
||||
let mut rng = thread_rng();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue