mirror of
https://github.com/ocornut/imgui.git
synced 2025-10-03 08:38:35 +00:00
InputText: fixed single-line InputText() not applying fine character clipping properly (regression in 1.92.3). (#8967)
This commit is contained in:
@@ -5525,7 +5525,7 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_
|
||||
text_col, clip_rect.AsVec4(),
|
||||
line_index->get_line_begin(buf_display, line_visible_n0),
|
||||
line_index->get_line_end(buf_display, line_visible_n1 - 1),
|
||||
wrap_width, ImDrawTextFlags_WrapKeepBlanks);
|
||||
wrap_width, ImDrawTextFlags_WrapKeepBlanks | ImDrawTextFlags_CpuFineClip);
|
||||
|
||||
// Render blinking cursor
|
||||
if (render_cursor)
|
||||
|
Reference in New Issue
Block a user