fix(StatusScrollBar): Fixed visibilty when policy always on (#878)
Needed for https://github.com/status-im/status-desktop/issues/6262
This commit is contained in:
parent
5c6fe0983d
commit
25c8eb7b49
|
@ -47,7 +47,7 @@ T.ScrollBar {
|
|||
|
||||
contentItem: Rectangle {
|
||||
color: Theme.palette.primaryColor2
|
||||
opacity: enabled && (root.hovered || root.active) ? 1.0 : 0.0
|
||||
opacity: enabled && (root.hovered || root.active || (root.policy === T.ScrollBar.AlwaysOn)) ? 1.0 : 0.0
|
||||
radius: Math.min(width, height) / 2
|
||||
|
||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||
|
|
Loading…
Reference in New Issue