[TD]fix leader autohorizontal on rotated base view

This commit is contained in:
wandererfan
2024-11-19 18:59:39 -05:00
committed by Yorik van Havre
parent 23354b57cb
commit a92acbd457
7 changed files with 75 additions and 63 deletions

View File

@@ -21,6 +21,7 @@
***************************************************************************/
#include "PreCompiled.h"
#include <qpainter.h>
#ifndef _PreComp_
# include <cmath>
# include <QGraphicsScene>
@@ -546,8 +547,8 @@ void QGIWeldSymbol::paint ( QPainter * painter, const QStyleOptionGraphicsItem *
QStyleOptionGraphicsItem myOption(*option);
myOption.state &= ~QStyle::State_Selected;
// painter->setPen(Qt::red);
// painter->drawRect(boundingRect()); //good for debugging
painter->setPen(Qt::red);
painter->drawRect(boundingRect()); //good for debugging
QGIView::paint (painter, &myOption, widget);
}