From e012cf6e31589166c592aa25e07e0b77b46e4001 Mon Sep 17 00:00:00 2001 From: miruka Date: Tue, 20 Aug 2019 17:43:59 -0400 Subject: [PATCH] Highlight HButton when tab-focused --- TODO.md | 2 -- src/qml/Base/HButton.qml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/TODO.md b/TODO.md index a169d394..54181b23 100644 --- a/TODO.md +++ b/TODO.md @@ -5,8 +5,6 @@ - Make all icon SVG files white/black, since we can now use ColorOverlay - Make the icon blue in EditAccount when hovering and no avatar set - - HButton - - visualFocus - Checkbox theming - `^property type name$` diff --git a/src/qml/Base/HButton.qml b/src/qml/Base/HButton.qml index 4653f241..885eddf9 100644 --- a/src/qml/Base/HButton.qml +++ b/src/qml/Base/HButton.qml @@ -30,7 +30,7 @@ Button { button.enabled && button.pressed ? theme.controls.button.pressedOverlay : - button.enabled && button.hovered ? + (button.enabled && button.hovered) || button.visualFocus ? theme.controls.button.hoveredOverlay : "transparent"