Allow drag/drop of files on whole timeline

This commit is contained in:
Loren Burkholder 2021-02-01 19:38:52 -05:00
parent 2b7bd09ad3
commit 1c3e113d4e
2 changed files with 4 additions and 7 deletions

View file

@ -273,12 +273,6 @@ Rectangle {
cursorShape: Qt.IBeamCursor cursorShape: Qt.IBeamCursor
onClicked: TimelineManager.timeline.input.paste(true) onClicked: TimelineManager.timeline.input.paste(true)
} }
NhekoDropArea {
anchors.fill: parent
roomid: TimelineManager.timeline ? TimelineManager.timeline.roomId() : ""
}
} }
ScrollBar.vertical: ScrollBar { ScrollBar.vertical: ScrollBar {

View file

@ -276,8 +276,11 @@ Page {
MessageInput { MessageInput {
} }
NhekoDropArea {
anchors.fill: parent
roomid: TimelineManager.timeline ? TimelineManager.timeline.roomId() : ""
}
} }
} }
systemInactive: SystemPalette { systemInactive: SystemPalette {