diff options
author | erdgeist <erdgeist@bauklotz.fritz.box> | 2018-04-04 02:31:01 +0200 |
---|---|---|
committer | erdgeist <erdgeist@bauklotz.fritz.box> | 2018-04-04 02:31:01 +0200 |
commit | 3bf644b734f288095b7190f22f850e8cfaaa885b (patch) | |
tree | a81d2711569d540a8be6e53a69a65f9067cdff21 | |
parent | 2869d9ac16d4528ff59fe438c0f777275bec9544 (diff) |
Don't display 2 octave split line unless requested
-rw-r--r-- | engine.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,9 +49,9 @@ engine_redraw() | |||
49 | 49 | ||
50 | display_line_color(0, scale(g_min_y), MAX_X, scale(g_min_y), 0xff00ffff); | 50 | display_line_color(0, scale(g_min_y), MAX_X, scale(g_min_y), 0xff00ffff); |
51 | display_line_color(0, scale(g_max_y), MAX_X, scale(g_max_y), 0xff00ffff); | 51 | display_line_color(0, scale(g_max_y), MAX_X, scale(g_max_y), 0xff00ffff); |
52 | 52 | #ifdef HAVE_TWO_OCTAVE_MODE | |
53 | display_line_color(0, scale(g_min_y + g_midi_two_octave_split * height / 100), MAX_X, scale(g_min_y + g_midi_two_octave_split * height / 100), 0xffff00ff); | 53 | display_line_color(0, scale(g_min_y + g_midi_two_octave_split * height / 100), MAX_X, scale(g_min_y + g_midi_two_octave_split * height / 100), 0xffff00ff); |
54 | 54 | #endif | |
55 | display_line_color(0, scale(g_min_y + tos1 * height / 100), MAX_X, scale(g_min_y + tos1 * height / 100), 0x00ff00ff); | 55 | display_line_color(0, scale(g_min_y + tos1 * height / 100), MAX_X, scale(g_min_y + tos1 * height / 100), 0x00ff00ff); |
56 | display_line_color(0, scale(g_min_y + tos2 * height / 100), MAX_X, scale(g_min_y + tos2 * height / 100), 0x00ff00ff); | 56 | display_line_color(0, scale(g_min_y + tos2 * height / 100), MAX_X, scale(g_min_y + tos2 * height / 100), 0x00ff00ff); |
57 | 57 | ||