Compare commits
No commits in common. "0eaba947f440e288e237b7c59fa56283c8ebe0a9" and "55ab5bc4e75c50be568f54cbe688fdd3f3e1658c" have entirely different histories.
0eaba947f4
...
55ab5bc4e7
2 changed files with 3 additions and 7 deletions
|
|
@ -32,8 +32,6 @@ M.BarSection {
|
|||
M.BarLabel {
|
||||
label: root.player?.trackTitle || root.player?.identity || ""
|
||||
color: M.Theme.base0E
|
||||
elide: Text.ElideRight
|
||||
width: Math.min(implicitWidth, 200)
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ RowLayout {
|
|||
required property SystemTrayItem modelData
|
||||
|
||||
readonly property bool _needsAttention: modelData.status === SystemTrayItemStatus.NeedsAttention
|
||||
property bool _hovered: false
|
||||
property real _pulseOpacity: 1
|
||||
|
||||
implicitWidth: 18
|
||||
|
|
@ -39,11 +38,11 @@ RowLayout {
|
|||
anchors.fill: parent
|
||||
opacity: iconItem._pulseOpacity
|
||||
|
||||
layer.enabled: iconItem._needsAttention || iconItem._hovered
|
||||
layer.enabled: iconItem._needsAttention
|
||||
layer.effect: MultiEffect {
|
||||
shadowEnabled: true
|
||||
shadowColor: iconItem._needsAttention ? M.Theme.base08 : M.Theme.base05
|
||||
shadowBlur: iconItem._needsAttention ? 0.8 : 0.5
|
||||
shadowColor: M.Theme.base08
|
||||
shadowBlur: 0.8
|
||||
shadowVerticalOffset: 0
|
||||
shadowHorizontalOffset: 0
|
||||
}
|
||||
|
|
@ -57,7 +56,6 @@ RowLayout {
|
|||
|
||||
HoverHandler {
|
||||
onHoveredChanged: {
|
||||
iconItem._hovered = hovered;
|
||||
const tip = [iconItem.modelData.tooltipTitle, iconItem.modelData.tooltipDescription].filter(s => s).join("\n") || iconItem.modelData.title;
|
||||
if (hovered && tip) {
|
||||
M.FlyoutState.text = tip;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue