Commit f9b0ff8c authored by 曹高翔's avatar 曹高翔
Browse files

Merge remote-tracking branch 'origin/gui-master' into gui-master

parents 0effabf8 a1443c7a
......@@ -232,8 +232,9 @@ class _NewPushButtonBorder(MyObject):
painter.setPen(QPen(QColor(0, 0, 0)))
def GetBorderPath(self):
x = y = r = self.r
r = self.r
d = self.d
x = y = r + d / 2
path = QPainterPath()
path.moveTo(y, x - r)
path.arcTo(y - r, x - r, 2 * r, 2 * r, 90, 90)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment