diff --git a/src/qml/Base/HImage.qml b/src/qml/Base/HImage.qml index ecb5b186..9c920c09 100644 --- a/src/qml/Base/HImage.qml +++ b/src/qml/Base/HImage.qml @@ -9,12 +9,9 @@ Image { property color colorize: "transparent" - layer { - enabled: ! Qt.colorEqual(colorize, "transparent") - effect: ColorOverlay { - color: image.colorize - cached: image.cache - } + layer.enabled: ! Qt.colorEqual(colorize, "transparent") + layer.effect: ColorOverlay { + color: image.colorize + cached: image.cache } - } diff --git a/src/qml/SidePane/AccountDelegate.qml b/src/qml/SidePane/AccountDelegate.qml index 5e9641c6..4ab22675 100644 --- a/src/qml/SidePane/AccountDelegate.qml +++ b/src/qml/SidePane/AccountDelegate.qml @@ -7,6 +7,10 @@ Column { width: parent.width spacing: theme.spacing / 2 + opacity: + paneToolBar.roomFilter && roomList.model.count < 1 ? 0.35 : 1 + Behavior on opacity { HNumberAnimation {} } + property bool expanded: true readonly property var modelItem: model @@ -62,7 +66,7 @@ Column { } RoomList { - id: roomCategoriesList + id: roomList visible: height > 0 width: parent.width height: childrenRect.height * (accountDelegate.expanded ? 1 : 0)