diff --git a/containment/package/contents/ui/main.qml b/containment/package/contents/ui/main.qml index dcce83b77..b5866149d 100644 --- a/containment/package/contents/ui/main.qml +++ b/containment/package/contents/ui/main.qml @@ -1768,11 +1768,11 @@ DragDrop.DropArea { var backAbs = Math.abs(themeBackgroundColorLuma - currentBackgroundLuminas); if (textAbs > backAbs) { - return theme.textColor; + return Qt.rgba(theme.textColor.r, theme.textColor.g, theme.textColor.b , 1); //remove any transparency } } - return theme.backgroundColor; + return Qt.rgba(theme.backgroundColor.r, theme.backgroundColor.g, theme.backgroundColor.b, 1); //remove any transparency } sourceComponent: ColorizerManager{}