2
0
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:
2021-10-06 22:50:33 +03:00
parent 4373eebe59
commit a5e20090d3
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
View File
@@ -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>