mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-12-22 17:59:33 +02:00
The absolute Y position in the status bar was actually the X position. Oopsie.
- gui_canvas.c (update_pos): display pos.y and not pos.x in the sys_y field git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5734 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
parent
6f2dc7fb0b
commit
582e2391de
@ -56,7 +56,7 @@ static void update_zoom(void)
|
||||
static void update_pos(struct coord pos)
|
||||
{
|
||||
set_with_units(status_set_sys_x, "X ", pos.x);
|
||||
set_with_units(status_set_sys_y, "Y ", pos.x);
|
||||
set_with_units(status_set_sys_y, "Y ", pos.y);
|
||||
set_with_units(status_set_user_x, "x ", pos.x-user_origin.x);
|
||||
set_with_units(status_set_user_y, "y ", pos.y-user_origin.y);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user