Merge settings window to main #23
+4
-23
@@ -91,7 +91,7 @@ Item {
|
|||||||
|
|
||||||
CustomText {
|
CustomText {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
color: DynamicColors.palette.m3onSecondaryContainer
|
color: button.modelData.active ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSecondaryContainer
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
text: button.modelData.name
|
text: button.modelData.name
|
||||||
@@ -149,21 +149,11 @@ Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ShaderEffectSource {
|
|
||||||
id: activeTextTex
|
|
||||||
|
|
||||||
anchors.fill: bgRect
|
|
||||||
anchors.margins: root.activeWorkspaceMargin
|
|
||||||
hideSource: true
|
|
||||||
live: true
|
|
||||||
recursive: true
|
|
||||||
sourceItem: activeTextSource
|
|
||||||
}
|
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: indicatorMask
|
id: indicatorMask
|
||||||
|
|
||||||
anchors.fill: bgRect
|
anchors.fill: bgRect
|
||||||
|
layer.enabled: true
|
||||||
visible: false
|
visible: false
|
||||||
|
|
||||||
CustomRect {
|
CustomRect {
|
||||||
@@ -176,21 +166,12 @@ Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ShaderEffectSource {
|
|
||||||
id: indicatorMaskEffect
|
|
||||||
|
|
||||||
anchors.fill: activeTextSource
|
|
||||||
live: true
|
|
||||||
sourceItem: indicatorMask
|
|
||||||
visible: false
|
|
||||||
}
|
|
||||||
|
|
||||||
MultiEffect {
|
MultiEffect {
|
||||||
anchors.fill: activeTextSource
|
anchors.fill: activeTextSource
|
||||||
maskEnabled: true
|
maskEnabled: true
|
||||||
maskInverted: false
|
maskInverted: false
|
||||||
maskSource: indicatorMaskEffect
|
maskSource: indicatorMask
|
||||||
source: activeTextTex
|
source: activeTextSource
|
||||||
z: 5
|
z: 5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user