Allow to display the last line of pixels in magnifier.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1442 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -352,7 +352,7 @@ void Button_Hide_menu(void)
|
||||
if (Main_magnifier_height>Main_image_height)
|
||||
Main_magnifier_offset_Y=0;
|
||||
else
|
||||
Main_magnifier_offset_Y=Main_image_height-Main_magnifier_height;
|
||||
Main_magnifier_offset_Y=Main_image_height-Main_magnifier_height+1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -421,7 +421,7 @@ void Set_bar_visibility(word bar, byte visible)
|
||||
if (Main_magnifier_height>Main_image_height)
|
||||
Main_magnifier_offset_Y=0;
|
||||
else
|
||||
Main_magnifier_offset_Y=Main_image_height-Main_magnifier_height;
|
||||
Main_magnifier_offset_Y=Main_image_height-Main_magnifier_height+1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user