diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-05-25 13:12:50 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-05-25 13:12:50 +1000 |
commit | 74dabf2244dda2a358d3e073f200f712d2950d4a (patch) | |
tree | 263827d2efced36ed6a582dddf5aaab6b9827ecc /source/frontend/StarChatBubbleManager.cpp | |
parent | f3adb0b9d01783822a48d50111a9b99673b6b718 (diff) |
fix two tiny issues with changing interface scale
Diffstat (limited to 'source/frontend/StarChatBubbleManager.cpp')
-rw-r--r-- | source/frontend/StarChatBubbleManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarChatBubbleManager.cpp b/source/frontend/StarChatBubbleManager.cpp index d837de7..20fef01 100644 --- a/source/frontend/StarChatBubbleManager.cpp +++ b/source/frontend/StarChatBubbleManager.cpp @@ -195,7 +195,7 @@ void ChatBubbleManager::addChatActions(List<ChatAction> chatActions, bool silent // bother me so bad if it weren't so fucking easy to do right. // yea I agree - m_guiContext->setTextStyle(m_textStyle); + m_guiContext->setTextStyle(m_textStyle, m_zoom); auto result = m_guiContext->determineTextSize(sayAction.text, m_textTemplate); float textWidth = result.width() / m_zoom + m_textPadding[0]; float textHeight = result.height() / m_zoom + m_textPadding[1]; |