fade in/out for dynamic modules, fix tray icon theming
This commit is contained in:
parent
d0f7c0872a
commit
4109078a91
6 changed files with 17 additions and 7 deletions
|
|
@ -34,10 +34,8 @@ RowLayout {
|
|||
onRunningChanged: if (!running) iconItem._pulseOpacity = 1
|
||||
}
|
||||
|
||||
M.ThemedIcon {
|
||||
Item {
|
||||
anchors.fill: parent
|
||||
source: iconItem.modelData.icon
|
||||
tint: iconItem._needsAttention ? M.Theme.base08 : M.Theme.base0D
|
||||
opacity: iconItem._pulseOpacity
|
||||
|
||||
layer.enabled: iconItem._needsAttention
|
||||
|
|
@ -48,6 +46,12 @@ RowLayout {
|
|||
shadowVerticalOffset: 0
|
||||
shadowHorizontalOffset: 0
|
||||
}
|
||||
|
||||
M.ThemedIcon {
|
||||
anchors.fill: parent
|
||||
source: iconItem.modelData.icon
|
||||
tint: iconItem._needsAttention ? M.Theme.base08 : M.Theme.base0D
|
||||
}
|
||||
}
|
||||
|
||||
HoverHandler {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue