Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.

Commit 1b12597

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 0a2f614 + d6752d4 commit 1b12597

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

project/ArtiQule.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def dripperHandler(self, result):
374374
self.painter.setPen(Dripper)
375375
point = QPoint(self.cursor().pos().x(), self.cursor().pos().y())
376376
point = self.mapFromGlobal(point)
377-
self.painter.drawLine(point, point)
377+
self.painter.drawPoint(point)
378378
self.update()
379379

380380
def mousePressEvent(self, event):
@@ -541,8 +541,9 @@ def run(self):
541541
# 1/3 chance it drips
542542
if drip_chance < 2:
543543
Drip = QPen()
544-
Drip.setWidth(self.size)
544+
Drip.setCosmetic(True)
545545
Drip.setStyle(Qt.DotLine)
546+
Drip.setWidth(self.size)
546547
Drip.setColor(self.color)
547548
Drip.setJoinStyle(Qt.RoundJoin)
548549
Drip.setCapStyle(Qt.RoundCap)

0 commit comments

Comments
 (0)