Skip to content

Commit

Permalink
fix incorrect mouse readout frequency (v1.07 regression)
Browse files Browse the repository at this point in the history
  • Loading branch information
seven-phases-max committed Jul 14, 2015
1 parent 2dd07a3 commit b3638de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sa.display.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ struct Display : DrawData,
+ ((cb & 0xFEFEFEFEu) >> 1);
gl::color(cc);

int mx = mousePos.x - r.x + bar;
int mx = mousePos.x - r.x - bar;
int gx = r.w - bar * 2 - 2;
double freq = freqMin * exp
(log(freqMax / freqMin) * mx / gx);
Expand Down

0 comments on commit b3638de

Please # to comment.