Skip to content

Commit

Permalink
fix header buttons background color to match existing colors
Browse files Browse the repository at this point in the history
the bckground of buttons on teh top bar of main dialog had a wrong color
not matching the top bar background color

Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Aug 12, 2024
1 parent 60942e2 commit d894040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/tray/HeaderButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Button {
Layout.preferredHeight: Style.trayWindowHeaderHeight

background: Rectangle {
color: root.hovered || root.visualFocus ? Style.currentUserHeaderTextColor : palette.base
color: root.hovered || root.visualFocus ? Style.currentUserHeaderTextColor : Style.currentUserHeaderColor
opacity: 0.2
}

Expand Down
2 changes: 1 addition & 1 deletion src/gui/tray/Window.qml
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ ApplicationWindow {
}

background: Rectangle {
color: parent.hovered || parent.visualFocus ? Style.currentUserHeaderTextColor : palette.window
color: currentAccountButton.hovered || currentAccountButton.visualFocus ? Style.currentUserHeaderTextColor : Style.currentUserHeaderColor
opacity: 0.2
}

Expand Down

0 comments on commit d894040

Please sign in to comment.