mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Scenario: Minor changes.
This commit is contained in:
1 parent
a412f2f18f
commit
8f0535dc5c
5 files changed
+22
-6
No files matched your search
@@ -353,8 +353,8 @@ class GraphWidget(QGraphicsView):
|
||||
if len(selectable_items) == 0:
|
||||
if event.buttons() & Qt.LeftButton:
|
||||
old_p = self.mapToScene(
|
||||
int(self.m_origin_x),
|
||||
int(self.m_origin_y)
|
||||
float(self.m_origin_x),
|
||||
float(self.m_origin_y)
|
||||
)
|
||||
new_p = self.mapToScene(event.pos())
|
||||
translation = new_p - old_p
|
||||
@@ -372,6 +372,7 @@ class GraphWidget(QGraphicsView):
|
||||
dlg = WaitingDialog(
|
||||
payload_fn=fn,
|
||||
title=action_str,
|
||||
trad=self._trad,
|
||||
parent=self.parent
|
||||
)
|
||||
dlg.exec_()
|
||||
|
||||
Reference in new issue
Block a user