Skip to content

Commit

Permalink
Fix left 1px lfo graph
Browse files Browse the repository at this point in the history
Closes #4597, supersedes #4613
  • Loading branch information
tresf committed Jan 13, 2019
1 parent f382e5e commit d9f5e8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/widgets/EnvelopeAndLfoView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,9 @@ void EnvelopeAndLfoView::paintEvent( QPaintEvent * )
p.fillRect( x5, y_base - 1, 2, 2, end_points_color );


int LFO_GRAPH_W = s_lfoGraph->width() - 6; // substract border
int LFO_GRAPH_W = s_lfoGraph->width() - 3; // substract border
int LFO_GRAPH_H = s_lfoGraph->height() - 6; // substract border
int graph_x_base = LFO_GRAPH_X + 3;
int graph_x_base = LFO_GRAPH_X + 2;
int graph_y_base = LFO_GRAPH_Y + 3 + LFO_GRAPH_H / 2;

const float frames_for_graph = SECS_PER_LFO_OSCILLATION *
Expand Down

0 comments on commit d9f5e8a

Please sign in to comment.