Only allow dragging on header

This commit is contained in:
Matthias 2020-09-12 17:51:00 +02:00
parent 121709ad46
commit fca1dea60d

View File

@ -12,6 +12,7 @@
:y="gridLayoutBotControls.y" :y="gridLayoutBotControls.y"
:w="gridLayoutBotControls.w" :w="gridLayoutBotControls.w"
:h="gridLayoutBotControls.h" :h="gridLayoutBotControls.h"
drag-allow-from=".card-header"
> >
<DraggableContainer header="Bot Controls"> <DraggableContainer header="Bot Controls">
<ReloadControl class="mt-3" /> <ReloadControl class="mt-3" />
@ -24,6 +25,7 @@
:y="gridLayoutMultiPane.y" :y="gridLayoutMultiPane.y"
:w="gridLayoutMultiPane.w" :w="gridLayoutMultiPane.w"
:h="gridLayoutMultiPane.h" :h="gridLayoutMultiPane.h"
drag-allow-from=".card-header"
> >
<DraggableContainer header="Multi Pane"> <DraggableContainer header="Multi Pane">
<b-tabs content-class="mt-3" class="mt-3"> <b-tabs content-class="mt-3" class="mt-3">
@ -100,6 +102,7 @@
:y="gridLayoutLogView.y" :y="gridLayoutLogView.y"
:w="gridLayoutLogView.w" :w="gridLayoutLogView.w"
:h="gridLayoutLogView.h" :h="gridLayoutLogView.h"
drag-allow-from=".card-header"
> >
<DraggableContainer header="Logs"> <DraggableContainer header="Logs">
<LogViewer /> <LogViewer />