From 524b17adc053f81b68104ed0ecee37c5b0bc7c08 Mon Sep 17 00:00:00 2001 From: gucio321 <73652197+gucio321@users.noreply.github.com> Date: Sun, 8 May 2022 14:20:12 +0200 Subject: [PATCH] examples/markdown: fix build errors --- examples/markdown/markdown.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/markdown/markdown.go b/examples/markdown/markdown.go index 07a219d8..7c569e4c 100644 --- a/examples/markdown/markdown.go +++ b/examples/markdown/markdown.go @@ -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), ), )