mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Add hover highlight to status bar in convergence mode
Mouse users had no visual cue that clicking the status bar toggles the action drawer. Add a subtle background highlight on hover so the bar signals interactivity.
This commit is contained in:
parent
db18022a9b
commit
73b4ecea57
1 changed files with 11 additions and 0 deletions
|
|
@ -88,6 +88,17 @@ Item {
|
|||
background: Rectangle {
|
||||
id: panelBackground
|
||||
color: backgroundColor
|
||||
|
||||
// Hover highlight in convergence mode to indicate the bar is clickable
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: Qt.rgba(255, 255, 255, 0.1)
|
||||
visible: ShellSettings.Settings.convergenceModeEnabled && statusBarHover.hovered
|
||||
}
|
||||
|
||||
HoverHandler {
|
||||
id: statusBarHover
|
||||
}
|
||||
}
|
||||
|
||||
contentItem: ColumnLayout {
|
||||
|
|
|
|||
Loading…
Reference in a new issue