11
src/Tick.cpp
11
src/Tick.cpp
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user