mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Show down-arrow on status bar hover in convergence
Desktop users have no visual cue that the top bar opens quick settings. Fade in a small arrow-down icon at the bottom center when the mouse hovers, matching the arrow-up hint on the favourites bar.
This commit is contained in:
parent
7fa2c20ab4
commit
2c7d88e5d8
1 changed files with 19 additions and 0 deletions
|
|
@ -211,4 +211,23 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Down-arrow hover hint for convergence mode
|
||||||
|
Kirigami.Icon {
|
||||||
|
z: 2
|
||||||
|
source: 'arrow-down'
|
||||||
|
implicitHeight: Kirigami.Units.iconSizes.small
|
||||||
|
implicitWidth: Kirigami.Units.iconSizes.small
|
||||||
|
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
anchors.bottomMargin: Kirigami.Units.smallSpacing
|
||||||
|
|
||||||
|
visible: ShellSettings.Settings.convergenceModeEnabled
|
||||||
|
opacity: statusBarHover.hovered ? 0.8 : 0
|
||||||
|
|
||||||
|
Behavior on opacity {
|
||||||
|
NumberAnimation { duration: Kirigami.Units.shortDuration }
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue