fix various graph event handling issues
This commit is contained in:
parent
9beda72ebb
commit
7600985557
|
|
@ -201,6 +201,7 @@ static int waves_callback(int event, int mx, int my, KeySym key, int button, int
|
|||
xctx->mx_double_save = xctx->mousex_snap;
|
||||
xctx->my_double_save = xctx->mousey_snap;
|
||||
}
|
||||
here(1234);
|
||||
for(i=0; i < xctx->rects[GRIDLAYER]; i++) {
|
||||
/* process only graph boxes */
|
||||
xRect *r;
|
||||
|
|
|
|||
|
|
@ -2334,7 +2334,7 @@ void draw_graph(int c, int i, int flags)
|
|||
if( b - tx2 > 4.0) drawline(3, NOW, tx2 + 2, yline, b - 2, yline, 1);
|
||||
}
|
||||
}
|
||||
if(flags & 1) {
|
||||
if(flags & 1) { /* copy save buffer to screen */
|
||||
bbox(START, 0.0, 0.0, 0.0, 0.0);
|
||||
bbox(ADD, rx1, ry1, rx2, ry2);
|
||||
bbox(SET, 0.0, 0.0, 0.0, 0.0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue