Fix arrow undo

This commit is contained in:
lupoDharkael
2018-04-11 01:21:17 +02:00
parent 0f5159a748
commit 7977b5a6a7
5 changed files with 18 additions and 6 deletions

View File

@@ -69,7 +69,7 @@ QLine getShorterLine(QPoint p1, QPoint p2, const int thickness) {
} // unnamed namespace
ArrowTool::ArrowTool(QObject *parent) : AbstractTwoPointTool(parent) {
m_padding = ArrowWidth / 2;
}
QIcon ArrowTool::icon(const QColor &background, bool inEditor) const {