Fix upload avatar overlay shown after picking one

This commit is contained in:
miruka 2019-11-06 08:52:23 -04:00
parent 4b47b0f7ec
commit 487446046f

View File

@ -74,7 +74,8 @@ HGridLayout {
z: 10 z: 10
visible: opacity > 0 visible: opacity > 0
opacity: ! fileDialog.dialog.visible && opacity: ! fileDialog.dialog.visible &&
(! avatar.mxc || avatar.hovered) ? 1 : 0 ((! avatar.mxc && ! avatar.changed) || avatar.hovered) ?
1 : 0
anchors.fill: parent anchors.fill: parent
color: Utils.hsluv(0, 0, 0, color: Utils.hsluv(0, 0, 0,