mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-23 02:50:12 +03:00
rename Rectangled TO Square for Indicators
This commit is contained in:
parent
14d7079198
commit
6f47b7c4c8
@ -116,7 +116,7 @@ Item {
|
||||
||((index === layoutsContainer.endLayout.beginIndex+layoutsContainer.endLayout.count-1)&&(layoutsContainer.endLayout.count>1)))
|
||||
|
||||
readonly property bool originalAppletBehavior: ((root.zoomFactor === 1 || !canBeHovered) && !root.titleTooltips) || lockZoom
|
||||
readonly property bool isRectangled: communicator.overlayLatteIconIsActive
|
||||
readonly property bool isSquare: communicator.overlayLatteIconIsActive
|
||||
|
||||
property int animationTime: appliedDurationTime * (1.2 *units.shortDuration)
|
||||
property int hoveredIndex: layoutsContainer.hoveredIndex
|
||||
|
@ -49,7 +49,7 @@ Item{
|
||||
readonly property bool inAttention: false
|
||||
readonly property bool inRemoving: false
|
||||
|
||||
readonly property bool isRectangled: appletIsValid ? appletItem.isRectangled : true
|
||||
readonly property bool isSquare: appletIsValid ? appletItem.isSquare : true
|
||||
|
||||
readonly property bool hasActive: isActive
|
||||
readonly property bool hasMinimized: false
|
||||
@ -71,7 +71,7 @@ Item{
|
||||
//!icon colors
|
||||
property color iconBackgroundColor: {
|
||||
if (appletIsValid) {
|
||||
return isRectangled ? appletItem.wrapperAlias.overlayIconLoader.backgroundColor : colorizerManager.buttonFocusColor;
|
||||
return isSquare ? appletItem.wrapperAlias.overlayIconLoader.backgroundColor : colorizerManager.buttonFocusColor;
|
||||
}
|
||||
|
||||
return "black";
|
||||
@ -79,7 +79,7 @@ Item{
|
||||
|
||||
property color iconGlowColor:{
|
||||
if (appletIsValid) {
|
||||
return isRectangled ? appletItem.wrapperAlias.overlayIconLoader.glowColor : colorizerManager.focusGlowColor;
|
||||
return isSquare ? appletItem.wrapperAlias.overlayIconLoader.glowColor : colorizerManager.focusGlowColor;
|
||||
}
|
||||
|
||||
return "white";
|
||||
|
@ -52,7 +52,7 @@ Item {
|
||||
readonly property bool inAttention: taskIsValid ? taskItem.inAttention : false
|
||||
readonly property bool inRemoving: taskIsValid ? taskItem.inRemoveStage : false
|
||||
|
||||
readonly property bool isRectangled: true
|
||||
readonly property bool isSquare: true
|
||||
|
||||
readonly property bool hasActive: taskIsValid ? taskItem.hasActive : false
|
||||
readonly property bool hasMinimized: taskIsValid? taskItem.hasMinimized : false
|
||||
|
Loading…
x
Reference in New Issue
Block a user