Project

General

Profile

Revision 173

fixed crosshair

View differences:

proj_func.c
49 49
    mouse_x = max(0, mouse_x + p->delta_x);
50 50
    mouse_x = min(mouse_x, graph_get_XRes() - 1);
51 51

  
52
    mouse_y = max(0, mouse_y + p->delta_y);
52
    mouse_y = max(0, mouse_y - p->delta_y);
53 53
    mouse_y = min(mouse_y, graph_get_YRes() - 1);
54 54
}
55 55

  

Also available in: Unified diff