Fixed formatting from old PR before CI

This commit is contained in:
Jeremy Borgman
2021-02-05 13:26:24 -06:00
committed by borgmanJeremy
parent 1bc2bfe2a4
commit 99493cb8d9
2 changed files with 8 additions and 8 deletions

View File

@@ -67,10 +67,10 @@ void SelectionTool::process(QPainter& painter,
}
painter.setPen(QPen(m_color, PADDING_VALUE + m_thickness));
if (m_thickness == 0) {
painter.drawRect(QRect(m_points.first, m_points.second));
}
else {
painter.drawRoundedRect(QRect(m_points.first, m_points.second), m_thickness, m_thickness);
painter.drawRect(QRect(m_points.first, m_points.second));
} else {
painter.drawRoundedRect(
QRect(m_points.first, m_points.second), m_thickness, m_thickness);
}
}