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:
parent
787354b0dc
commit
84b6b04145
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue