mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
Make cursor change to indicate move action
This commit is contained in:
parent
1f47e979f0
commit
9a6f7c8812
1 changed files with 3 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue