Skip to content

Commit

Permalink
Change to how zero-coverage nodes are drawn
Browse files Browse the repository at this point in the history
  • Loading branch information
rrwick committed Mar 20, 2015
1 parent 776e827 commit 191ad65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ void MainWindow::addGraphicsItemsToScene()
if (i.value()->m_drawn)
{
DeBruijnNode * node = i.value();
if (meanDrawnCoverage == 0 || node->m_coverage == 0)
if (meanDrawnCoverage == 0)
node->m_coverageRelativeToMeanDrawnCoverage = 1.0;
else
node->m_coverageRelativeToMeanDrawnCoverage = node->m_coverage / meanDrawnCoverage;
Expand Down

0 comments on commit 191ad65

Please sign in to comment.