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:
Adrien Destugues
2010-04-05 09:28:52 +00:00
parent 39629a8cba
commit befba16697
3 changed files with 5 additions and 5 deletions

View File

@@ -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;
}
}