diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-09-27 08:04:38 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-09-27 08:04:38 +0200 |
commit | 709c66db61bbcd1ca2b8f92a9517e4130622ce27 (patch) | |
tree | a7e838175c3e6a5fae0e8fd9b2d3ce8986fe2c49 /source | |
parent | 9b41f768aee9a0f1aeabbdc7aaa55bc76a0a4ec4 (diff) | |
download | saw-709c66db61bbcd1ca2b8f92a9517e4130622ce27.zip |
UI piano roll: adjust title position
Diffstat (limited to 'source')
-rw-r--r-- | source/saw/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/saw/main.c b/source/saw/main.c index 44effd8..3f34e51 100644 --- a/source/saw/main.c +++ b/source/saw/main.c @@ -212,7 +212,7 @@ static void saw_ui_roll(saw_roll_t *roll, i64 x0, i64 y0, i64 width, nvgFontSize(saw_nvg, text_height); nvgFontFaceId(saw_nvg, saw_font); nvgFillColor(saw_nvg, nvgRGBA(255, 255, 255, 255)); - nvgText(saw_nvg, x0 + roll_border, + nvgText(saw_nvg, x0 + roll_border * 2, frame_height - y0 - height + text_height - roll_border * 2, title.values, title.values + title.size); nvgFill(saw_nvg); |