mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Merge pull request #444 from LorenDB/dragDropTimeline
Allow drag/drop of files on whole timeline
This commit is contained in:
commit
82e80d464d
2 changed files with 4 additions and 7 deletions
|
@ -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 {
|
||||||
|
|
|
@ -276,8 +276,11 @@ Page {
|
||||||
MessageInput {
|
MessageInput {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NhekoDropArea {
|
||||||
|
anchors.fill: parent
|
||||||
|
roomid: TimelineManager.timeline ? TimelineManager.timeline.roomId() : ""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
systemInactive: SystemPalette {
|
systemInactive: SystemPalette {
|
||||||
|
|
Loading…
Reference in a new issue