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:
@@ -356,7 +356,7 @@ void Scroll_magnifier(short delta_x,short delta_y)
|
||||
if (temp_x_offset+Main_magnifier_width>Main_image_width)
|
||||
temp_x_offset=Main_image_width-Main_magnifier_width;
|
||||
if (temp_y_offset+Main_magnifier_height>Main_image_height)
|
||||
temp_y_offset=Main_image_height-Main_magnifier_height;
|
||||
temp_y_offset=Main_image_height-Main_magnifier_height+1;
|
||||
if (temp_x_offset<0)
|
||||
temp_x_offset=0;
|
||||
if (temp_y_offset<0)
|
||||
|
||||
Reference in New Issue
Block a user