commit
8425c09768
2 changed files with 2 additions and 2 deletions
|
|
@ -373,7 +373,7 @@ func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, rende
|
||||||
}
|
}
|
||||||
var out []byte
|
var out []byte
|
||||||
if len(boards) > 0 {
|
if len(boards) > 0 {
|
||||||
out := boards[0]
|
out = boards[0]
|
||||||
if animateInterval > 0 {
|
if animateInterval > 0 {
|
||||||
out, err = d2animate.Wrap(diagram, boards, renderOpts, int(animateInterval))
|
out, err = d2animate.Wrap(diagram, boards, renderOpts, int(animateInterval))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue