We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 282c8b9 commit dbf4950Copy full SHA for dbf4950
cmd/stories/animation.go
@@ -8,7 +8,7 @@ import (
8
"github.com/cfoust/cy/pkg/geom"
9
"github.com/cfoust/cy/pkg/geom/image"
10
"github.com/cfoust/cy/pkg/geom/tty"
11
- "github.com/cfoust/cy/pkg/layout/margins"
+ "github.com/cfoust/cy/pkg/layout"
12
"github.com/cfoust/cy/pkg/mux/screen/placeholder"
13
"github.com/cfoust/cy/pkg/taro"
14
"github.com/cfoust/cy/pkg/util"
@@ -19,7 +19,7 @@ import (
19
func createInitial(size geom.Size) image.Image {
20
ctx, cancel := context.WithCancel(context.Background())
21
defer cancel()
22
- outerLayers := margins.Add(ctx, placeholder.New(ctx))
+ outerLayers := layout.AddMargins(ctx, placeholder.New(ctx))
23
outerLayers.Resize(size)
24
return outerLayers.State().Image
25
}
0 commit comments