From 940c766b616dbfccdd09ef233ac4898a1674d08f Mon Sep 17 00:00:00 2001 From: TheTravelingSpaceman Date: Sun, 12 Mar 2017 12:28:31 +0200 Subject: [PATCH] Removed no-pixel line at bottom of graph --- src/gui/editors/AutomationEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editors/AutomationEditor.cpp b/src/gui/editors/AutomationEditor.cpp index a6f7d16de..17adf7468 100644 --- a/src/gui/editors/AutomationEditor.cpp +++ b/src/gui/editors/AutomationEditor.cpp @@ -1456,7 +1456,7 @@ int AutomationEditor::xCoordOfTick(int tick ) float AutomationEditor::yCoordOfLevel(float level ) { - int grid_bottom = height() - SCROLLBAR_SIZE - 1; + int grid_bottom = height() - SCROLLBAR_SIZE; if( m_y_auto ) { return ( grid_bottom - ( grid_bottom - TOP_MARGIN ) * ( level - m_minLevel ) / ( m_maxLevel - m_minLevel ) );