uiux(CoptyToClipBoardButton): make hover state work in all themes

The background color of the component was hard coded to grey.
This commit changes it to `backgroundHover` so it looks consistent
in dark and light themes.
This commit is contained in:
Pascal Precht 2021-01-19 16:34:07 +01:00 committed by Iuri Matias
parent 787354b0dc
commit 84b6b04145
1 changed files with 2 additions and 2 deletions

View File

@ -30,10 +30,10 @@ Rectangle {
parent.color = Style.current.transparent
}
onEntered:{
parent.color = Style.current.grey
parent.color = Style.current.backgroundHover
}
onPressed: {
parent.color = Style.current.grey
parent.color = Style.current.backgroundHover
if (!toolTip.visible) {
toolTip.visible = true
}