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:
committed by
James Graham
parent
fad381c36f
commit
b96d3dde46
@@ -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))
|
||||
|
||||
@@ -286,7 +286,6 @@ Kirigami.Page {
|
||||
initialIndex: index
|
||||
})
|
||||
popup.closed.connect(() => {
|
||||
messageListView.interactive = true
|
||||
popup.destroy()
|
||||
})
|
||||
popup.open()
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user