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