Fixed hoverable/focus bug introduced in 3fe6ae97 (#2997)

+ ArrowButtonEx() internal bits.
This commit is contained in:
omar
2020-01-22 14:20:56 +01:00
parent 7a22767483
commit 2eda3585e7
3 changed files with 3 additions and 3 deletions

View File

@ -720,7 +720,7 @@ bool ImGui::ArrowButtonEx(const char* str_id, ImGuiDir dir, ImVec2 size, ImGuiBu
bool ImGui::ArrowButton(const char* str_id, ImGuiDir dir)
{
float sz = GetFrameHeight();
return ArrowButtonEx(str_id, dir, ImVec2(sz, sz), 0);
return ArrowButtonEx(str_id, dir, ImVec2(sz, sz), ImGuiButtonFlags_None);
}
// Button to close a window