mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 16:59:48 +02:00
Merge pull request #1911 from Rutorai/bug/1651_milestone_incorrect_vertical_position
The vertical position was wrongly based on index in sorted array.
This commit is contained in:
@@ -189,6 +189,9 @@ export const draw = function(text, id) {
|
||||
})
|
||||
.attr('height', theBarHeight)
|
||||
.attr('transform-origin', function(d, i) {
|
||||
// Ignore the incoming i value and use our order instead
|
||||
i = d.order;
|
||||
|
||||
return (
|
||||
(
|
||||
timeScale(d.startTime) +
|
||||
|
Reference in New Issue
Block a user