Editor plugin: Edit element via double click

This commit is contained in:
Jakub Melka
2024-06-09 20:03:25 +02:00
parent b43b4c1874
commit 05cf65b381
8 changed files with 82 additions and 35 deletions

View File

@ -530,7 +530,7 @@ PDFEditedPageContentElementPath* PDFEditedPageContentElementPath::clone() const
QRectF PDFEditedPageContentElementPath::getBoundingBox() const
{
QPainterPath mappedPath = getState().getCurrentTransformationMatrix().map(m_path);
QPainterPath mappedPath = getTransform().map(m_path);
return mappedPath.boundingRect();
}