When running new version of Grafx2 for first time, new shortcuts take priority over user's. Useful for the space=pan (issue 233) that replaces default space=left-click. Also improved pan to display updated xy coords.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1902 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2012-02-03 23:32:32 +00:00
parent cbcb7a6b8f
commit f77f38e238
2 changed files with 8 additions and 5 deletions

View File

@@ -4093,7 +4093,10 @@ void Pan_view_12_2(void)
Scroll_screen(start_x-Paintbrush_X,start_y-Paintbrush_Y);
}
// The "scroll" functions have actualized the Paintbrush_X and Y
if (Paintbrush_X!=start_x || Paintbrush_Y!=start_y)
{
Print_coordinates();
}
Operation_push(Paintbrush_X);
Operation_push(Paintbrush_Y);
}