diff Discovery/Src/tMenu.c @ 825:4bd8935f5176

Bugfix Flipscreen visualization: In Timer and CCR overview the free custom fram coordinates were not initialized. Depending on which view was activ before the coordinates of the former view were used and sometimes resulting in a bad visualization. To fix the problem the coordinates are now initialized by the views. The top menu bar text in the flip view did not consider spacings in the text position calculation causing an offset between color bar and text. The offset has been corrected.
author Ideenmodellierer
date Mon, 09 Oct 2023 16:50:11 +0200
parents c4ee952b9425
children bc2fcd002fc4
line wrap: on
line diff
--- a/Discovery/Src/tMenu.c	Mon Oct 09 11:23:27 2023 +0200
+++ b/Discovery/Src/tMenu.c	Mon Oct 09 16:50:11 2023 +0200
@@ -1445,18 +1445,18 @@
 				}
 
 				pDestination -= (800) * 480;
-				positionText += 70;
+				positionText += 66;
 
 				if(((k == 4) && (actual_menu_content != MENU_SURFACE)) || ((k == 6) && (menu.pageCountNumber[5] == 0)))
 				{
 					pDestination -= 70 * 480;
-					positionText += 70;
+					positionText += 66;
 				}
 
 				if(spacing[k])
 				{
 					pDestination -= 35 * 480;
-					positionText += 35;
+					positionText += 31;
 				}
 			}
         }