Skip to content
Permalink
Browse files

Fix left 1px lfo graph

Closes #4597, supersedes #4613
  • Loading branch information...
tresf committed Jan 7, 2019
1 parent f382e5e commit d9f5e8a6df1c396b6f5391ebd285b15b12f3e1e8
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/widgets/EnvelopeAndLfoView.cpp
@@ -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 *

0 comments on commit d9f5e8a

Please sign in to comment.
You can’t perform that action at this time.