per-group borders, workspace hover, battery notifications, richer network tooltip
This commit is contained in:
parent
b8ec39f2c9
commit
0eda2c71c9
7 changed files with 69 additions and 16 deletions
|
|
@ -69,9 +69,11 @@ Row {
|
|||
required property var modelData
|
||||
|
||||
readonly property bool active: modelData.id === root._activeId
|
||||
property bool _hovered: false
|
||||
|
||||
HoverHandler {
|
||||
onHoveredChanged: {
|
||||
pill._hovered = hovered;
|
||||
const name = pill.modelData.name || ("Workspace " + pill.modelData.idx);
|
||||
if (hovered) {
|
||||
M.FlyoutState.text = name;
|
||||
|
|
@ -87,7 +89,7 @@ Row {
|
|||
width: 20
|
||||
height: 20
|
||||
radius: M.Theme.radius
|
||||
color: pill.active ? M.Theme.base0D : M.Theme.base02
|
||||
color: pill.active ? M.Theme.base0D : (pill._hovered ? M.Theme.base03 : M.Theme.base02)
|
||||
Behavior on color { ColorAnimation { duration: 150 } }
|
||||
|
||||
Text {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue