fix: update edge hover to closest edge instead of add order
This commit is contained in:
@@ -21,12 +21,14 @@ public:
|
||||
void setStartPos(QPointF pos);
|
||||
void setEndPos(QPointF pos);
|
||||
void cleanUp();
|
||||
void setDeleteHighlight(bool enable);
|
||||
void setDeleteHighlight(bool state);
|
||||
QPen deleteHighlightPen_;
|
||||
QPen defaultPen_;
|
||||
|
||||
bool deleteHighlight_=false;
|
||||
|
||||
QPointF closestPoint(QPointF startPos);
|
||||
|
||||
private:
|
||||
SocketGraphic* socket1_;
|
||||
SocketGraphic* socket2_;
|
||||
|
||||
Reference in New Issue
Block a user