Fix visualization for tool Point from circle and tangent.
This commit is contained in:
parent
851e8cf5e5
commit
7d6ad602f5
|
@ -1,5 +1,6 @@
|
|||
# Valentina 0.7.53 (unreleased)
|
||||
- Fix layout sheet export with empty name.
|
||||
- Fix visualization for tool Point from circle and tangent.
|
||||
|
||||
# Valentina 0.7.52 September 12, 2022
|
||||
- Fix crash when default locale is ru.
|
||||
|
|
|
@ -47,7 +47,8 @@
|
|||
VisToolPointFromCircleAndTangent::VisToolPointFromCircleAndTangent(const VContainer *data, QGraphicsItem *parent)
|
||||
: VisLine(data, parent)
|
||||
{
|
||||
m_cPath = InitItem<QGraphicsEllipseItem>(Qt::darkGreen, this);
|
||||
m_cPath = InitItem<VScaledEllipse>(Qt::darkGreen, this);
|
||||
m_cPath->SetPointMode(false);
|
||||
m_point = InitPoint(Color(VColor::MainColor), this);
|
||||
m_tangent = InitPoint(Color(VColor::SupportColor), this);
|
||||
m_cCenter = InitPoint(Color(VColor::SupportColor), this); //-V656
|
||||
|
|
|
@ -67,7 +67,7 @@ private:
|
|||
VScaledEllipse *m_point{nullptr};
|
||||
VScaledEllipse *m_tangent{nullptr};
|
||||
VScaledEllipse *m_cCenter{nullptr};
|
||||
QGraphicsEllipseItem *m_cPath{nullptr};
|
||||
VScaledEllipse *m_cPath{nullptr};
|
||||
VScaledLine *m_tangent2{nullptr};
|
||||
quint32 m_pointId{NULL_ID};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user