Fix colors

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-10-10 03:56:03 +03:00
parent acf480832a
commit cabf8b23df
5 changed files with 15 additions and 8 deletions

View File

@@ -42,12 +42,13 @@ auto App::tick() -> void
ImGuiGuard gui_scope(m_gui, rune, m_kbd.ctrl(), m_kbd.shift());
Rectangle const input_rect {
0.0f,
0.0f,
static_cast<float>(GetScreenWidth()),
static_cast<float>(GetScreenHeight()),
0.0f,
0.0f,
static_cast<float>(GetScreenWidth()),
static_cast<float>(GetScreenHeight()),
};
auto result = m_gui->text_input(1, text_input_data, input_rect);
auto result = m_gui->text_input(1, text_input_data, input_rect,
{ .text_color = theme().foreground });
if (result.test(1))
m_ime.surrounding_dirty = true;