Skip to content

Commit

Permalink
[example] accidentally changed this
Browse files Browse the repository at this point in the history
This partially reverts commit 172a52b.
  • Loading branch information
yellowsink committed Feb 26, 2023
1 parent cc93b1e commit 2b17e19
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions examples/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"github.com/uwu/frenyard"
"github.com/uwu/frenyard/design"
"github.com/uwu/frenyard/framework"
"github.com/uwu/frenyard/integration"
)

func main() {
Expand Down Expand Up @@ -33,8 +34,6 @@ func main() {
TeleportSettings: framework.SlideTransition{},
})

strptr := ""

// Start an instant transition to our main screen.
app.Teleport(
// A 'document', with a title header and body.
Expand All @@ -47,11 +46,7 @@ func main() {
DirVertical: true,
Slots: []framework.FlexboxSlot{
{
Element: //framework.NewUILabelPtr(integration.NewTextTypeChunk("Hello World!", design.GlobalFont), design.ThemeText, 0, frenyard.Alignment2i{}),
design.NewUITextboxPtr("test", &strptr, "hi!"),
},
{
Element: design.NewUITextboxPtr("", &strptr, "hi 2!"),
Element: framework.NewUILabelPtr(integration.NewTextTypeChunk("Hello World!", design.GlobalFont), design.ThemeText, 0, frenyard.Alignment2i{}),
},
},
}),
Expand Down

0 comments on commit 2b17e19

Please sign in to comment.