ref: 0f6e82a993edbfb96f95fe2f3963ef31c84a71c9
parent: 1502ffc9defe52cf4d7c6b9aa0fcfda4f890c7f8
author: Olav Sørensen <olav.sorensen@live.no>
date: Wed Sep 11 10:38:38 EDT 2024
Bug fix for status bar in extended pattern view mode
--- a/src/ft2_pattern_draw.c
+++ b/src/ft2_pattern_draw.c
@@ -147,8 +147,8 @@
if (ui.extendedPatternEditor)
{
- const int32_t clearSize = ui.pattChanScrollShown ? (SCREEN_W * sizeof (int32_t) * 330) : (SCREEN_W * sizeof (int32_t) * 347);
- memset(&video.frameBuffer[53 * SCREEN_W], 0, clearSize);
+ const int32_t clearSize = ui.pattChanScrollShown ? (SCREEN_W * sizeof (int32_t) * 315) : (SCREEN_W * sizeof (int32_t) * 332);
+ memset(&video.frameBuffer[68 * SCREEN_W], 0, clearSize);
}
else
{
--
⑨