Skip to content

Commit dbf4950

Browse files
committed
fix: tests
1 parent 282c8b9 commit dbf4950

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/stories/animation.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/cfoust/cy/pkg/geom"
99
"github.com/cfoust/cy/pkg/geom/image"
1010
"github.com/cfoust/cy/pkg/geom/tty"
11-
"github.com/cfoust/cy/pkg/layout/margins"
11+
"github.com/cfoust/cy/pkg/layout"
1212
"github.com/cfoust/cy/pkg/mux/screen/placeholder"
1313
"github.com/cfoust/cy/pkg/taro"
1414
"github.com/cfoust/cy/pkg/util"
@@ -19,7 +19,7 @@ import (
1919
func createInitial(size geom.Size) image.Image {
2020
ctx, cancel := context.WithCancel(context.Background())
2121
defer cancel()
22-
outerLayers := margins.Add(ctx, placeholder.New(ctx))
22+
outerLayers := layout.AddMargins(ctx, placeholder.New(ctx))
2323
outerLayers.Resize(size)
2424
return outerLayers.State().Image
2525
}

0 commit comments

Comments
 (0)