mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 12:05:11 +00:00
Always update chat message font
This commit is contained in:
parent
30a1b115da
commit
41b41164d7
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
#include "audio/external.h"
|
#include "audio/external.h"
|
||||||
#include "game/mario_misc.h"
|
#include "game/mario_misc.h"
|
||||||
#include "djui.h"
|
#include "djui.h"
|
||||||
|
#include "djui_hud_utils.h"
|
||||||
#include "pc/debuglog.h"
|
#include "pc/debuglog.h"
|
||||||
#include "pc/lua/smlua_hooks.h"
|
#include "pc/lua/smlua_hooks.h"
|
||||||
|
|
||||||
|
@ -36,6 +37,8 @@ static bool djui_chat_message_render(struct DjuiBase* base) {
|
||||||
djui_base_set_size(base, chatMessage->messageWidth, chatMessage->base.height.value);
|
djui_base_set_size(base, chatMessage->messageWidth, chatMessage->base.height.value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
djui_text_set_font(chatMessage->message, gDjuiFonts[configDjuiThemeFont == 0 ? FONT_NORMAL : FONT_ALIASED]);
|
||||||
|
|
||||||
djui_rect_render(base);
|
djui_rect_render(base);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue