Skip to content

Commit

Permalink
examples/markdown: fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gucio321 committed May 8, 2022
1 parent cb94aa3 commit 524b17a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/markdown/markdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ func loop() {
}),
},
giu.Markdown(&markdown).
Header(0, (giu.GetDefaultFonts())[0].SetSize(28), true).
Header(1, (giu.GetDefaultFonts())[0].SetSize(26), false).
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 524b17a

Please sign in to comment.