This commit is contained in:
parent
270d4d0855
commit
072caa4a90
@ -66,6 +66,7 @@ Other Changes:
|
|||||||
- InputText: made double-click select word, triple-line select line. Word delimitation logic differs
|
- InputText: made double-click select word, triple-line select line. Word delimitation logic differs
|
||||||
slightly from the one used by CTRL+arrows. (#2244)
|
slightly from the one used by CTRL+arrows. (#2244)
|
||||||
- InputText: fixed ReadOnly flag preventing callbacks from receiving the text buffer. (#4762) [@actondev]
|
- InputText: fixed ReadOnly flag preventing callbacks from receiving the text buffer. (#4762) [@actondev]
|
||||||
|
- InputText: fixed incorrect padding when FrameBorder > 0. (#4794, #3781)
|
||||||
- Separator: fixed cover all columns while called inside a table. (#4787)
|
- Separator: fixed cover all columns while called inside a table. (#4787)
|
||||||
- Clipper: currently focused item is automatically included in clipper range.
|
- Clipper: currently focused item is automatically included in clipper range.
|
||||||
Fixes issue where e.g. drag and dropping an item and scrolling ensure the item source location is
|
Fixes issue where e.g. drag and dropping an item and scrolling ensure the item source location is
|
||||||
|
@ -4009,8 +4009,9 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_
|
|||||||
PushStyleColor(ImGuiCol_ChildBg, style.Colors[ImGuiCol_FrameBg]);
|
PushStyleColor(ImGuiCol_ChildBg, style.Colors[ImGuiCol_FrameBg]);
|
||||||
PushStyleVar(ImGuiStyleVar_ChildRounding, style.FrameRounding);
|
PushStyleVar(ImGuiStyleVar_ChildRounding, style.FrameRounding);
|
||||||
PushStyleVar(ImGuiStyleVar_ChildBorderSize, style.FrameBorderSize);
|
PushStyleVar(ImGuiStyleVar_ChildBorderSize, style.FrameBorderSize);
|
||||||
|
PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(0, 0)); // Ensure no clip rect so mouse hover can reach FramePadding edges
|
||||||
bool child_visible = BeginChildEx(label, id, frame_bb.GetSize(), true, ImGuiWindowFlags_NoMove);
|
bool child_visible = BeginChildEx(label, id, frame_bb.GetSize(), true, ImGuiWindowFlags_NoMove);
|
||||||
PopStyleVar(2);
|
PopStyleVar(3);
|
||||||
PopStyleColor();
|
PopStyleColor();
|
||||||
if (!child_visible)
|
if (!child_visible)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user