Skip to content
Snippets Groups Projects
Commit c1ab779a authored by Benjamin Arnaud's avatar Benjamin Arnaud Committed by Jean-Baptiste Kempf
Browse files

qml/TextToolButton: Update focus implementation

parent 6c578f3d
No related branches found
No related tags found
1 merge request!162qml: Update components design and focus box
......@@ -54,9 +54,15 @@ T.ToolButton {
visible: control.checked
color: control.activeFocus ? VLCStyle.colors.accent : VLCStyle.colors.bgHover
}
BackgroundFocus {
anchors.fill: parent
visible: control.activeFocus
}
}
background: FocusBackground {
active: (control.activeFocus || control.hovered)
active: control.hovered
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment