Skip to content

Commit d9f5e8a

Browse files
committed
Fix left 1px lfo graph
Closes #4597, supersedes #4613
1 parent f382e5e commit d9f5e8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gui/widgets/EnvelopeAndLfoView.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,9 @@ void EnvelopeAndLfoView::paintEvent( QPaintEvent * )
491491
p.fillRect( x5, y_base - 1, 2, 2, end_points_color );
492492

493493

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

499499
const float frames_for_graph = SECS_PER_LFO_OSCILLATION *

0 commit comments

Comments
 (0)