diff --git a/assets/opensb/interface/optionsmenu/optionsmenu.config.patch b/assets/opensb/interface/optionsmenu/optionsmenu.config.patch index b428f37..a169bef 100644 --- a/assets/opensb/interface/optionsmenu/optionsmenu.config.patch +++ b/assets/opensb/interface/optionsmenu/optionsmenu.config.patch @@ -1,5 +1,8 @@ { "paneLayout" : { + "panefeature" : { + "anchor" : "center" + }, "voiceLabel" : { "type" : "label", "position" : [119, 202], 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];