mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-17 00:56:39 +00:00
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…
x
Reference in New Issue
Block a user