remove deprecated property

pull/21/head
Michail Vourlakos 4 years ago
parent ddcc2bbe6b
commit 9f1274bf70

@ -41,7 +41,6 @@ Loader{
readonly property real themeTextColorBrightness: ColorizerTools.colorBrightness(textColor) readonly property real themeTextColorBrightness: ColorizerTools.colorBrightness(textColor)
readonly property real backgroundColorBrightness: ColorizerTools.colorBrightness(backgroundColor) readonly property real backgroundColorBrightness: ColorizerTools.colorBrightness(backgroundColor)
readonly property color minimizedDotColor: themeTextColorBrightness > 127.5 ? Qt.darker(textColor, 1.7) : Qt.lighter(textColor, 8)
readonly property color focusGlowColor: Qt.hsva(buttonFocusColor.h, buttonFocusColor.s, 1.0, 1.0) readonly property color focusGlowColor: Qt.hsva(buttonFocusColor.h, buttonFocusColor.s, 1.0, 1.0)

@ -433,8 +433,6 @@ Item {
property int tasksCount: latteApplet ? latteApplet.tasksCount : 0 property int tasksCount: latteApplet ? latteApplet.tasksCount : 0
property rect screenGeometry: latteView ? latteView.screenGeometry : plasmoid.screenGeometry property rect screenGeometry: latteView ? latteView.screenGeometry : plasmoid.screenGeometry
readonly property color minimizedDotColor: colorizerManager.minimizedDotColor
///END properties from latteApplet ///END properties from latteApplet

@ -50,6 +50,7 @@ LatteComponents.IndicatorItem{
return isActiveColor; return isActiveColor;
} }
property color notActiveColor: indicator.isMinimized ? minimizedColor : isActiveColor property color notActiveColor: indicator.isMinimized ? minimizedColor : isActiveColor
//! Common Options //! Common Options

@ -108,13 +108,6 @@ Item {
property int internalHeightMargins: !root.vertical ? metrics.totals.thicknessEdges : metrics.totals.lengthPaddings property int internalHeightMargins: !root.vertical ? metrics.totals.thicknessEdges : metrics.totals.lengthPaddings
property real textColorBrightness: ColorizerTools.colorBrightness(themeTextColor) property real textColorBrightness: ColorizerTools.colorBrightness(themeTextColor)
property color minimizedDotColor: {
if (latteView) {
return latteView.minimizedDotColor;
}
return textColorBrightness > 127.5 ? Qt.darker(themeTextColor, 1.7) : Qt.lighter(themeBackgroundColor, 7)
}
property color themeTextColor: theme.textColor property color themeTextColor: theme.textColor
property color themeBackgroundColor: theme.backgroundColor property color themeBackgroundColor: theme.backgroundColor

Loading…
Cancel
Save