Skip to content

Commit

Permalink
Prevent LMMS VisualizationWidget from showing clipping color at exact…
Browse files Browse the repository at this point in the history
…ly 0 db (LMMS#5162)
  • Loading branch information
LostRobotMusic authored Aug 30, 2019
1 parent 5f27a46 commit 5fc7404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/widgets/VisualizationWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ QColor const & VisualizationWidget::determineLineColor(float level) const
{
return normalColor();
}
else if( level < 1.0f )
else if( level <= 1.0f )
{
return warningColor();
}
Expand Down

0 comments on commit 5fc7404

Please sign in to comment.