fix gantt posizioning on zoomout
This commit is contained in:
@@ -14,7 +14,9 @@
|
||||
:class="{follow:canFollow}"
|
||||
>
|
||||
<!-- <gantt-header :padding-horizontal="padX " /> -->
|
||||
<g :transform="`translate(0 ${ganttOptions.stepDuration * ganttOptions.secondSize + PadY })`">
|
||||
<g
|
||||
:transform="`translate(0 ${Math.min(ganttOptions.stepDuration * ganttOptions.secondSize + PadY,40) })`"
|
||||
>
|
||||
<gantt-row
|
||||
:section="1"
|
||||
:blocks="blocks"
|
||||
|
||||
Reference in New Issue
Block a user