From 1c3e113d4e9988243a810262ceeef2ad3a3e0fd3 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Mon, 1 Feb 2021 19:38:52 -0500 Subject: [PATCH] Allow drag/drop of files on whole timeline --- resources/qml/MessageInput.qml | 6 ------ resources/qml/TimelineView.qml | 5 ++++- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/resources/qml/MessageInput.qml b/resources/qml/MessageInput.qml index cb7d383f..4c73f28b 100644 --- a/resources/qml/MessageInput.qml +++ b/resources/qml/MessageInput.qml @@ -273,12 +273,6 @@ Rectangle { cursorShape: Qt.IBeamCursor onClicked: TimelineManager.timeline.input.paste(true) } - - NhekoDropArea { - anchors.fill: parent - roomid: TimelineManager.timeline ? TimelineManager.timeline.roomId() : "" - } - } ScrollBar.vertical: ScrollBar { diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index a2b56b9a..2c8fb4fa 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -276,8 +276,11 @@ Page { MessageInput { } + NhekoDropArea { + anchors.fill: parent + roomid: TimelineManager.timeline ? TimelineManager.timeline.roomId() : "" + } } - } systemInactive: SystemPalette {