Make cursor change to indicate move action

This commit is contained in:
Sebastian Parborg 2024-06-03 14:25:50 +02:00
parent 1f47e979f0
commit 9a6f7c8812

View file

@ -520,6 +520,9 @@ class BeePixmapItem(BeeItemMixin, QtWidgets.QGraphicsPixmapItem):
if edge().contains(event.pos()):
self.set_cursor(self.get_crop_edge_cursor(edge))
return
if self.crop_temp.contains(event.pos()):
self.set_cursor(Qt.CursorShape.SizeAllCursor)
return
self.unset_cursor()
def mousePressEvent(self, event):