|
|
|
|
@ -259,6 +259,10 @@ function renderBracket(options) { |
|
|
|
|
top = (parentPos1 + parentPos2) / 2; |
|
|
|
|
if (parent1Disable && parent2Disable) { |
|
|
|
|
nextMatchDistance = 0; |
|
|
|
|
const keys = Object.keys(matchPositions[roundIndex]).map(Number); |
|
|
|
|
const lastKey = Math.max(...keys); |
|
|
|
|
top = |
|
|
|
|
(matchHeight + matchSpacing) * minimumMatchDistance * keys.length; |
|
|
|
|
} else { |
|
|
|
|
nextMatchDistance = parentPos2 - parentPos1; |
|
|
|
|
} |
|
|
|
|
|