Skip to content

Commit 00ef619

Browse files
committed
Improve potential connections
1 parent bd6b2b7 commit 00ef619

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Interface/Application/Connection.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,16 @@ class ConnectionInProgressGraphicsItem : public Base, public ConnectionInProgres
143143

144144
virtual void makePotential() override
145145
{
146-
Base::setOpacity(0.5);
147-
Base::setPen(QPen(color(), 5.0, Qt::DotLine));
146+
Base::setOpacity(0.3);
147+
Base::setPen(QPen(color(), 3.0, Qt::DotLine));
148148
}
149149

150150
virtual void highlight(bool on) override
151151
{
152152
if (on)
153-
Base::setPen(QPen(Qt::red, 8.0, Qt::SolidLine));
153+
Base::setPen(QPen(Qt::red, 7.0, Qt::SolidLine));
154154
else
155-
Base::setPen(QPen(fromPort_->color(), 5.0, Qt::DotLine));
155+
Base::setPen(QPen(fromPort_->color(), 3.0, Qt::DotLine));
156156
isHighlighted_ = on;
157157
}
158158

0 commit comments

Comments
 (0)