diff options
-rw-r--r-- | source/saw/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/saw/main.c b/source/saw/main.c index 0a60577..a10af64 100644 --- a/source/saw/main.c +++ b/source/saw/main.c @@ -776,6 +776,13 @@ static void saw_ui_track(saw_track_t *track, i64 x0, i64 y0, for (i32 input_index = TRACK_INPUT_INSTRUMENT; input_index <= TRACK_INPUT_RELEASE; ++input_index) { + // FIXME + // Implement Unison and Spread. + // + if (input_index == TRACK_INPUT_UNISON || + input_index == TRACK_INPUT_SPREAD) + continue; + if ((track->value_input == TRACK_INPUT_NONE || track->value_input == input_index) && saw_mouse_x >= x0 && saw_mouse_x < x0 + width && @@ -852,6 +859,7 @@ static void saw_ui_track(saw_track_t *track, i64 x0, i64 y0, } } } + if (input_index == TRACK_INPUT_VOLUME) next_y += header_offset; next_y += text_height; |