mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 15:15:32 +02:00
hide 'get all avatars' while in 'manage' state
This commit is contained in:
parent
f8917a835a
commit
3acde99587
1 changed files with 4 additions and 2 deletions
|
@ -570,12 +570,13 @@ Rectangle {
|
|||
source: favoriteAvatarImage
|
||||
saturation: 0.2
|
||||
visible: isInManageState && !container.highlighted
|
||||
visible: isInManageState && !container.highlighted && url !== ''
|
||||
}
|
||||
|
||||
HiFiGlyphs {
|
||||
anchors.fill: parent
|
||||
text: "{"
|
||||
visible: isInManageState && !container.highlighted
|
||||
visible: isInManageState && !container.highlighted && url !== ''
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
size: 56
|
||||
}
|
||||
|
@ -585,7 +586,7 @@ Rectangle {
|
|||
height: 92
|
||||
radius: 5
|
||||
color: style.colors.blueHighlight
|
||||
visible: url === ''
|
||||
visible: url === '' && !isInManageState
|
||||
|
||||
HiFiGlyphs {
|
||||
anchors.centerIn: parent
|
||||
|
@ -632,6 +633,7 @@ Rectangle {
|
|||
horizontalAlignment: Text.AlignHCenter
|
||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||
text: name
|
||||
visible: url !== '' || !isInManageState
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue