Fixed cursor / single click behaviour on map.

This commit is contained in:
Khopa 2020-12-06 21:12:44 +01:00
parent 15d72a8dcb
commit 2012ad0aa3

View File

@ -12,7 +12,9 @@ class QLiberationScene(QGraphicsScene):
item.setDefaultTextColor(CONST.COLORS["white"])
def mouseMoveEvent(self, event: QGraphicsSceneMouseEvent):
super(QLiberationScene, self).mouseMoveEvent(event)
self.parent().sceneMouseMovedEvent(event)
def mousePressEvent(self, event:QGraphicsSceneMouseEvent):
super(QLiberationScene, self).mousePressEvent(event)
self.parent().sceneMousePressEvent(event)