mirror of
https://github.com/tenrok/vue-ganttastic.git
synced 2026-06-19 00:00:34 +03:00
fix: playground
This commit is contained in:
+1
-1
@@ -188,7 +188,7 @@ export default {
|
||||
let movedBars = didSnapBack ? new Set() : this.movedBarsInDrag
|
||||
// Magnetic suction
|
||||
if (movedBars.size && this.isMagnetic) {
|
||||
let { left, right, move } = action
|
||||
let { left, right/*, move*/ } = action
|
||||
|
||||
movedBars.forEach((bar) => {
|
||||
if (this.timeaxisMode === 'month_days') {
|
||||
|
||||
+2
-2
@@ -14,6 +14,8 @@
|
||||
:row-label-width="`${rowLabelWidth}%`"
|
||||
:row-height="rowHeight"
|
||||
:theme="selectedTheme"
|
||||
barStartKey="myStart"
|
||||
barEndKey="myEnd"
|
||||
@dragend-bar="onDragend($event)"
|
||||
>
|
||||
<template v-for="row in rowList">
|
||||
@@ -22,8 +24,6 @@
|
||||
:label="row.label"
|
||||
:bars="row.barList"
|
||||
:highlight-on-hover="highlightOnHover"
|
||||
bar-start-key="myStart"
|
||||
bar-end-key="myEnd"
|
||||
>
|
||||
<template #bar-label="{ bar }">
|
||||
<span>{{ bar.label }}</span>
|
||||
|
||||
Reference in New Issue
Block a user