From 78172a36f79e32868feec7f493840300c05f3510 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 28 Oct 2019 07:43:42 +0100 Subject: pose-widget: fix octopus center of rotation --- pose-widget/pose-widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3