From d9f5e8a6df1c396b6f5391ebd285b15b12f3e1e8 Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Mon, 7 Jan 2019 13:09:11 -0500 Subject: [PATCH] Fix left 1px lfo graph Closes #4597, supersedes #4613 --- src/gui/widgets/EnvelopeAndLfoView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/widgets/EnvelopeAndLfoView.cpp b/src/gui/widgets/EnvelopeAndLfoView.cpp index 4131a956e..ce23947dc 100644 --- a/src/gui/widgets/EnvelopeAndLfoView.cpp +++ b/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 *