Removed no-pixel line at bottom of graph

This commit is contained in:
TheTravelingSpaceman
2017-03-12 12:28:31 +02:00
parent ff801868b7
commit 940c766b61

View File

@@ -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 ) );