mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed an unnecessary double display of the current menu item in page up/down
This commit is contained in:
		@@ -3395,6 +3395,7 @@ Matthias Senzel <matthias.senzel@t-online.de>
 | 
				
			|||||||
 of recordings was not updated immediately
 | 
					 of recordings was not updated immediately
 | 
				
			||||||
 for fixing restoring the volume at program start
 | 
					 for fixing restoring the volume at program start
 | 
				
			||||||
 for fixing height calculation in progress display
 | 
					 for fixing height calculation in progress display
 | 
				
			||||||
 | 
					 for fixing an unnecessary double display of the current menu item in page up/down
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Marek Nazarko <mnazarko@gmail.com>
 | 
					Marek Nazarko <mnazarko@gmail.com>
 | 
				
			||||||
 for translating OSD texts to the Polish language
 | 
					 for translating OSD texts to the Polish language
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								HISTORY
									
									
									
									
									
								
							@@ -9863,7 +9863,7 @@ Video Disk Recorder Revision History
 | 
				
			|||||||
- The recording info of the default skins now shows the frame parameters of the
 | 
					- The recording info of the default skins now shows the frame parameters of the
 | 
				
			||||||
  recording at the end of the description (if such information is available).
 | 
					  recording at the end of the description (if such information is available).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2024-01-18:
 | 
					2024-01-19:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Changed installing config files to handle potentially broken 'cp -n'.
 | 
					- Changed installing config files to handle potentially broken 'cp -n'.
 | 
				
			||||||
- Fixed height calculation in progress display (thanks to Matthias Senzel).
 | 
					- Fixed height calculation in progress display (thanks to Matthias Senzel).
 | 
				
			||||||
@@ -9873,3 +9873,5 @@ Video Disk Recorder Revision History
 | 
				
			|||||||
  more (thanks to Markus Ehrnsperger).
 | 
					  more (thanks to Markus Ehrnsperger).
 | 
				
			||||||
- Implemented scaling images (thanks to Andreas Baierl).
 | 
					- Implemented scaling images (thanks to Andreas Baierl).
 | 
				
			||||||
- Removed syslog calls in child process after fork() (thanks to Markus Ehrnsperger).
 | 
					- Removed syslog calls in child process after fork() (thanks to Markus Ehrnsperger).
 | 
				
			||||||
 | 
					- Fixed an unnecessary double display of the current menu item in page up/down
 | 
				
			||||||
 | 
					  (thanks to Matthias Senzel).
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										10
									
								
								osdbase.c
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								osdbase.c
									
									
									
									
									
								
							@@ -4,7 +4,7 @@
 | 
				
			|||||||
 * See the main source file 'vdr.c' for copyright information and
 | 
					 * See the main source file 'vdr.c' for copyright information and
 | 
				
			||||||
 * how to reach the author.
 | 
					 * how to reach the author.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * $Id: osdbase.c 4.5 2018/03/24 11:47:45 kls Exp $
 | 
					 * $Id: osdbase.c 5.1 2024/01/19 12:10:47 kls Exp $
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "osdbase.h"
 | 
					#include "osdbase.h"
 | 
				
			||||||
@@ -447,10 +447,8 @@ void cOsdMenu::PageUp(void)
 | 
				
			|||||||
     else if (current - first >= displayMenuItems)
 | 
					     else if (current - first >= displayMenuItems)
 | 
				
			||||||
        first = current - displayMenuItems + 1;
 | 
					        first = current - displayMenuItems + 1;
 | 
				
			||||||
     }
 | 
					     }
 | 
				
			||||||
  if (current != oldCurrent || first != oldFirst) {
 | 
					  if (current != oldCurrent || first != oldFirst)
 | 
				
			||||||
     Display();
 | 
					     Display();
 | 
				
			||||||
     DisplayCurrent(true);
 | 
					 | 
				
			||||||
     }
 | 
					 | 
				
			||||||
  else if (Setup.MenuScrollWrap)
 | 
					  else if (Setup.MenuScrollWrap)
 | 
				
			||||||
     CursorUp();
 | 
					     CursorUp();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -481,10 +479,8 @@ void cOsdMenu::PageDown(void)
 | 
				
			|||||||
     else if (current - first >= displayMenuItems)
 | 
					     else if (current - first >= displayMenuItems)
 | 
				
			||||||
        first = current - displayMenuItems + 1;
 | 
					        first = current - displayMenuItems + 1;
 | 
				
			||||||
     }
 | 
					     }
 | 
				
			||||||
  if (current != oldCurrent || first != oldFirst) {
 | 
					  if (current != oldCurrent || first != oldFirst)
 | 
				
			||||||
     Display();
 | 
					     Display();
 | 
				
			||||||
     DisplayCurrent(true);
 | 
					 | 
				
			||||||
     }
 | 
					 | 
				
			||||||
  else if (Setup.MenuScrollWrap)
 | 
					  else if (Setup.MenuScrollWrap)
 | 
				
			||||||
     CursorDown();
 | 
					     CursorDown();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user