--- a/.github/workflows/run_tests_in_docker.yml Thu Nov 28 14:27:58 2024 +0100
+++ b/.github/workflows/run_tests_in_docker.yml Thu Nov 28 14:39:26 2024 +0100
@@ -18,7 +18,7 @@
- uses: actions/checkout@v3
with:
repository: beremiz/matiec
- ref: 6bb2c339df6fd096d52f5342be228b0811fef771
+ ref: 8647c3bc66ebab5bc591f1404f31ade2cfca498f
path: matiec
- uses: actions/checkout@v3
--- a/editors/Viewer.py Thu Nov 28 14:27:58 2024 +0100
+++ b/editors/Viewer.py Thu Nov 28 14:39:26 2024 +0100
@@ -2474,8 +2474,8 @@
elif not self.Debug and self.SelectedElement is not None:
movex, movey = move
if not event.AltDown() or event.ShiftDown():
- movex *= scaling[0]
- movey *= scaling[1]
+ movex = int(movex * scaling[0])
+ movey = int(movey * scaling[1])
if event.ShiftDown() and not event.AltDown():
movex *= 10
movey *= 10