From 062fe42a811060ca989a9099cd8378c0aac52f47 Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Wed, 2 Jun 2021 14:23:00 +0200 Subject: [PATCH] fix(Core): don't rotate `ColorOverlay` of `StatusIcon` As discussed in #109, when using the `rotation` property of `StatusIcon` it seems to just mirror the underlying image source. It turns out that using `rotation` on the image source is enough to have the `ColorOverlay` rotate as well. Adding a `rotation` to the overlay will rotate the source that's already rotated, resulting in a mirrored result. To fix this, we're removing the additional `rotation` from the overlay. Fixes #109 --- src/StatusQ/Core/StatusIcon.qml | 1 - 1 file changed, 1 deletion(-) diff --git a/src/StatusQ/Core/StatusIcon.qml b/src/StatusQ/Core/StatusIcon.qml index e0eb89da..a409f316 100644 --- a/src/StatusQ/Core/StatusIcon.qml +++ b/src/StatusQ/Core/StatusIcon.qml @@ -25,7 +25,6 @@ Image { color: statusIcon.color antialiasing: true smooth: true - rotation: statusIcon.rotation } }