Skip to content

Commit

Permalink
examples/markdown: handle a tiny api change
Browse files Browse the repository at this point in the history
now the Markdown creator doesn't require string pointer
  • Loading branch information
gucio321 committed Nov 11, 2024
1 parent 8d58a75 commit ad5cb28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/markdown/markdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func loop() {
giu.InputTextMultiline(&markdown).Size(availableW, availableH).Build()
}),
},
giu.Markdown(&markdown).
giu.Markdown(markdown).
Header(0, (giu.Context.FontAtlas.GetDefaultFonts())[0].SetSize(28), true).
Header(1, (giu.Context.FontAtlas.GetDefaultFonts())[0].SetSize(26), false).
Header(2, nil, true),
Expand Down

0 comments on commit ad5cb28

Please sign in to comment.