Magnifier: Both views positions are preserved on switching to Spare and back. Changing zoom with dropdown menu doesn't accidentally zoom on mouse
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1298 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -390,7 +390,7 @@ void Zoom(short delta)
|
||||
if ( (index>=0) && (index<NB_ZOOM_FACTORS) )
|
||||
{
|
||||
Hide_cursor();
|
||||
Change_magnifier_factor(index);
|
||||
Change_magnifier_factor(index,1);
|
||||
if (Main_magnifier_mode)
|
||||
Display_all_screen();
|
||||
Display_cursor();
|
||||
@@ -411,7 +411,7 @@ void Zoom_set(int index)
|
||||
}
|
||||
else
|
||||
{
|
||||
Change_magnifier_factor(index);
|
||||
Change_magnifier_factor(index,1);
|
||||
if (!Main_magnifier_mode)
|
||||
Select_button(BUTTON_MAGNIFIER,1);
|
||||
Display_all_screen();
|
||||
|
||||
Reference in New Issue
Block a user