summaryrefslogtreecommitdiffhomepage
path: root/pose-widget/pose-widget.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-10-28 07:43:42 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-10-28 07:45:44 +0100
commit78172a36f79e32868feec7f493840300c05f3510 (patch)
tree8a93d135fdde4505228ddf047b14d89a05176905 /pose-widget/pose-widget.cpp
parentc65bf0c5c25c554667aebce9f2d3183cd3af4357 (diff)
pose-widget: fix octopus center of rotation
Diffstat (limited to 'pose-widget/pose-widget.cpp')
-rw-r--r--pose-widget/pose-widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pose-widget/pose-widget.cpp b/pose-widget/pose-widget.cpp
index bf25a490..b51a6bbf 100644
--- a/pose-widget/pose-widget.cpp
+++ b/pose-widget/pose-widget.cpp
@@ -57,7 +57,7 @@ void pose_widget::paintEvent(QPaintEvent*)
t.translate(x * xy / s, y * xy / s);
- t.translate(w*.5, h*-.5);
+ t.translate(w*-.5, h*-.5);
QPainter p(this);
p.setTransform(t);