From 74dabf2244dda2a358d3e073f200f712d2950d4a Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sat, 25 May 2024 13:12:50 +1000 Subject: fix two tiny issues with changing interface scale --- source/frontend/StarChatBubbleManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/frontend/StarChatBubbleManager.cpp') 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 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]; -- cgit v1.2.3