diff options
author | DeepBlueV7.X <nicolas.werner@hotmail.de> | 2022-04-27 01:15:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 01:15:25 +0000 |
commit | 5ceed8f519a1123d9ae5cb59b681a5b2f838cbfc (patch) | |
tree | 0256e3ea76f849c97aa450381418b891fbfc92ab /resources/qml/TimelineView.qml | |
parent | Fix scaling of animated images in fullscreen image viewer (diff) | |
parent | Modifications to member list buttons (diff) | |
download | nheko-5ceed8f519a1123d9ae5cb59b681a5b2f838cbfc.tar.xz |
Merge pull request #1056 from Nheko-Reborn/uiTweaks
UI tweaks
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r-- | resources/qml/TimelineView.qml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index a7bfe1ef..a9d48fb9 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -46,6 +46,15 @@ Item { // height is somewhat arbitrary here... don't set width because width scales w/ height height: parent.height / 16 z: 3 + opacity: hh.hovered ? 0.3 : 1 + + Behavior on opacity { + NumberAnimation { duration: 100; } + } + + HoverHandler { + id: hh + } } ColumnLayout { @@ -199,8 +208,7 @@ Item { Layout.alignment: Qt.AlignHCenter MatrixText { - text: qsTr("%1 member(s)").arg(room ? room.roomMemberCount : 0) - cursorShape: Qt.PointingHandCursor + text: qsTr("%n member(s)", "", room ? room.roomMemberCount : 0) } ImageButton { |