diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-02 19:29:21 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-02 19:29:21 +1000 |
commit | 994c533a0f7b4aa1a1530405505a53546252e1d1 (patch) | |
tree | 3e190174ef93a35f53b842c61098544df8216356 /source/windowing/StarItemSlotWidget.cpp | |
parent | 856e93be3f1a443db2679ad7db9f6890a9b4d936 (diff) |
Improve planet name title
They began showing during the warp cinematic and their fade-out timing was wrong.
Diffstat (limited to 'source/windowing/StarItemSlotWidget.cpp')
-rw-r--r-- | source/windowing/StarItemSlotWidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/windowing/StarItemSlotWidget.cpp b/source/windowing/StarItemSlotWidget.cpp index 4d67175..2958957 100644 --- a/source/windowing/StarItemSlotWidget.cpp +++ b/source/windowing/StarItemSlotWidget.cpp @@ -189,6 +189,8 @@ void ItemSlotWidget::renderImpl() { context()->setFontColor(m_fontColor.toRgba()); context()->setFontMode(m_countFontMode); context()->renderInterfaceText(toString(m_item->count()), m_countPosition.translated(Vec2F(screenPosition()))); + context()->setFontMode(FontMode::Normal); + context()->setDefaultFont(); } } else if (m_drawBackingImageWhenEmpty && m_backingImage != "") { |