After changing screen size or pixel mode, the palette is now scrolled to show FG color (issue 124)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@718 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud 2009-04-04 14:51:27 +00:00
parent 763a4551a9
commit 8b29381699
2 changed files with 3 additions and 0 deletions

View File

@ -1655,6 +1655,7 @@ void Button_Resolution(void)
}
Display_menu();
Reposition_palette();
Display_all_screen();
}
Paintbrush_X = Mouse_X;
@ -1674,6 +1675,7 @@ void Button_Safety_resolution(void)
Init_mode_video(640, 400, 0,PIXEL_SIMPLE);
Current_resolution=0;
Display_menu();
Reposition_palette();
Display_all_screen();
Unselect_bouton(BUTTON_RESOL);

View File

@ -526,6 +526,7 @@ void Main_handler(void)
Init_mode_video(Resize_width, Resize_height, 0, Pixel_ratio);
// Remise à zero des variables indiquant le Redimensionnement demandé
Display_menu();
Reposition_palette();
Display_all_screen();
Display_cursor();
}