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

View File

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