Commit 550d1516 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fixed a right-to-left Vector Selection

It should use normalized values
parent dfaea178
......@@ -89,7 +89,7 @@ void KisToolSelectRectangular::finishRect(const QRectF& rect)
helper.selectPixelSelection(tmpSel, m_widgetHelper.selectionAction());
}
} else {
QRectF documentRect = convertToPt(rect);
QRectF documentRect = convertToPt(rc);
helper.addSelectionShape(KisShapeToolHelper::createRectangleShape(documentRect));
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment