graph UI improvements (global x slider), various fixes
This commit is contained in:
parent
30ce222b68
commit
eff02f5f02
|
|
@ -500,7 +500,6 @@ static int waves_callback(int event, int mx, int my, KeySym key, int button, int
|
|||
ccx = (x2 - x1) / (wwx2 - wwx1);
|
||||
ddx = x1 - wwx1 * cx;
|
||||
p = (xctx->mousex_snap - ddx) / ccx;
|
||||
dbg(0, "p=%g\n", p);
|
||||
xx1 = p - delta / 2.0;
|
||||
xx2 = p + delta / 2.0;
|
||||
my_snprintf(s, S(s), "%g", xx1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue