Skip to content

Commit

Permalink
Fix issue with click hit-detection on locations
Browse files Browse the repository at this point in the history
  • Loading branch information
RoadrunnerWMC committed Jan 30, 2024
1 parent 1b38972 commit fa12de1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reggie.py
Original file line number Diff line number Diff line change
Expand Up @@ -2902,6 +2902,7 @@ def shape(self):
# We basically make a vertically-flipped "L" shape if the location
# is small, so that you can click on the ID number to select the location
qpp = QtGui.QPainterPath()
qpp.setFillRule(QtCore.Qt.FillRule.WindingFill)
qpp.addRect(self.BoundingRectWithoutTitleRect)
qpp.addRect(self.TitleRect)
return qpp
Expand Down

0 comments on commit fa12de1

Please sign in to comment.