diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-10-28 07:43:42 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-10-28 07:45:44 +0100 |
commit | 78172a36f79e32868feec7f493840300c05f3510 (patch) | |
tree | 8a93d135fdde4505228ddf047b14d89a05176905 /pose-widget | |
parent | c65bf0c5c25c554667aebce9f2d3183cd3af4357 (diff) |
pose-widget: fix octopus center of rotation
Diffstat (limited to 'pose-widget')
-rw-r--r-- | pose-widget/pose-widget.cpp | 2 |
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); |