diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-18 18:32:29 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-18 18:32:29 +1000 |
commit | 572291047fe2713a50bd4c584fd91b758c60337d (patch) | |
tree | 8b2655e6e59134601b29a7fa5f06c6ccddfa38cd /source/windowing/StarCanvasWidget.cpp | |
parent | 49147c8be51cd71e34a862615e18955bd3abeca5 (diff) |
Fix LabelWidgets randomly being shadowed
Diffstat (limited to 'source/windowing/StarCanvasWidget.cpp')
-rw-r--r-- | source/windowing/StarCanvasWidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/windowing/StarCanvasWidget.cpp b/source/windowing/StarCanvasWidget.cpp index a0eeb7d..0c7ea82 100644 --- a/source/windowing/StarCanvasWidget.cpp +++ b/source/windowing/StarCanvasWidget.cpp @@ -274,6 +274,7 @@ void CanvasWidget::renderText(Vec2F const& renderingOffset, String const& s, Tex context.setDefaultLineSpacing(); context.setDefaultFont(); + context.setFontMode(FontMode::Normal); context.setFontProcessingDirectives(""); } |