Fix crop outline on zoomed in images

This commit is contained in:
Rebecca Breu 2024-03-01 20:25:14 +01:00
parent 5c308c57b7
commit 14549c1a67
2 changed files with 7 additions and 3 deletions

View file

@ -12,9 +12,11 @@ Fixed
-----
* Fixed a crash when pressing the keyboard shortcut for New Scene
while in the process of doing a rubberband selection
while in the process of doing a rubberband selection.
* The checkmark of the menu entry Images -> Grayscale is now updating
correctly depending on the selected images
correctly depending on the selected images.
* Removed black line under marching ants outline of crop mode, which
would scale with the image and get potentially very thick.
0.3.2 - 2024-01-21

View file

@ -384,7 +384,9 @@ class BeePixmapItem(BeeItemMixin, QtWidgets.QGraphicsPixmapItem):
color = QtGui.QColor(0, 0, 0)
color.setAlpha(100)
painter.setBrush(QtGui.QBrush(color))
painter.setPen(QtGui.QPen())
pen = QtGui.QPen()
pen.setWidth(0)
painter.setPen(pen)
painter.drawPath(path)
painter.setBrush(QtGui.QBrush())