fix: fix community header button in dark mode
This commit is contained in:
parent
f8704d7b64
commit
c86f67b9f1
|
@ -13,6 +13,7 @@ Button {
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
id: btnBackground
|
id: btnBackground
|
||||||
radius: Style.current.radius
|
radius: Style.current.radius
|
||||||
|
color: Style.current.transparent
|
||||||
}
|
}
|
||||||
|
|
||||||
contentItem: Item {
|
contentItem: Item {
|
||||||
|
@ -55,7 +56,7 @@ Button {
|
||||||
onPressed: communityProfilePopup.open();
|
onPressed: communityProfilePopup.open();
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
onExited: {
|
onExited: {
|
||||||
btnBackground.color = "transparent"
|
btnBackground.color = Style.current.transparent
|
||||||
}
|
}
|
||||||
onEntered: {
|
onEntered: {
|
||||||
btnBackground.color = Style.current.backgroundHover
|
btnBackground.color = Style.current.backgroundHover
|
||||||
|
|
Loading…
Reference in New Issue