mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
InputText: fixed misassignment to unused Scroll.y variable when using ImGuiInputTextFlags_NoHorizontalScroll.
Amend d474ed7f7 (#7913, #383)
This commit is contained in:
parent
8eb22ea620
commit
e2f314d613
1 changed files with 1 additions and 1 deletions
|
|
@ -5439,7 +5439,7 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_
|
|||
}
|
||||
else
|
||||
{
|
||||
state->Scroll.y = 0.0f;
|
||||
state->Scroll.x = 0.0f;
|
||||
}
|
||||
|
||||
// Vertical scroll
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue