Skip to content
Snippets Groups Projects
Commit 3cde3668 authored by Benjamin Arnaud's avatar Benjamin Arnaud Committed by Hugo Beauzée-Luyssen
Browse files

AnimatedBackground: Switch to visualFocus

parent 03a7ab8e
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,8 @@ T.MenuItem {
background: Widgets.AnimatedBackground {
implicitHeight: VLCStyle.fontHeight_normal
active: visualFocus
backgroundColor: control.highlighted ? VLCStyle.colors.buttonHover
: VLCStyle.colors.setColorAlpha(VLCStyle.colors.buttonHover, 0)
}
......
......@@ -82,7 +82,7 @@ T.TabButton {
height: control.height
width: control.width
active: control.activeFocus
active: visualFocus
animationDuration: VLCStyle.ms140
......
......@@ -38,7 +38,7 @@ T.ItemDelegate {
// Childs
background: AnimatedBackground {
active: control.activeFocus
active: visualFocus
backgroundColor: {
if (control.hovered) {
......
......@@ -75,7 +75,7 @@ ToolButton {
implicitWidth: size
implicitHeight: size
active: control.activeFocus
active: control.visualFocus
backgroundColor: {
if (control.hovered)
......
......@@ -76,7 +76,7 @@ T.TabButton {
height: control.height
width: control.width
active: control.activeFocus
active: visualFocus
foregroundColor: (hovered) ? VLCStyle.colors.buttonTextHover
: VLCStyle.colors.buttonBanner
......
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