mirror of
https://github.com/tenrok/vue-ganttastic.git
synced 2026-06-19 03:00:33 +03:00
fix: can't squeeze bar to left in some case
This commit is contained in:
+1
-1
@@ -363,7 +363,7 @@ export default {
|
||||
}
|
||||
}
|
||||
} else if (isSqueezeToLeft) {
|
||||
otherBars = this.allBarsInRow.slice(0, -currentIndex)
|
||||
otherBars = this.allBarsInRow.slice(0, currentIndex)
|
||||
if (otherBars.length) {
|
||||
let otherBarTotalWidth = otherBars
|
||||
.map((bar) => this.getBarWidth(bar))
|
||||
|
||||
Reference in New Issue
Block a user