Remove useless interactive set when maximizing images

This doesn't seem to do anything, and it's not easy to turn it back when
the popup is closed
This commit is contained in:
Joshua Goins
2023-11-10 12:16:25 -05:00
committed by James Graham
parent fad381c36f
commit b96d3dde46
3 changed files with 0 additions and 3 deletions

View File

@@ -133,7 +133,6 @@ MessageDelegate {
if (root.mediaInfo.animated) {
imageContainer.imageItem.paused = true
}
root.ListView.view.interactive = false
// We need to make sure the index is that of the MediaMessageFilterModel.
if (root.ListView.view.model instanceof MessageFilterModel) {
RoomManager.maximizeMedia(RoomManager.mediaMessageFilterModel.getRowForSourceItem(root.index))

View File

@@ -286,7 +286,6 @@ Kirigami.Page {
initialIndex: index
})
popup.closed.connect(() => {
messageListView.interactive = true
popup.destroy()
})
popup.open()

View File

@@ -290,7 +290,6 @@ MessageDelegate {
text: i18n("Maximize")
icon.name: "view-fullscreen"
onTriggered: {
root.ListView.view.interactive = false
vid.pause()
// We need to make sure the index is that of the MediaMessageFilterModel.
if (root.ListView.view.model instanceof MessageFilterModel) {