mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 14:16:36 +00:00
Removed apparently unncessary code in InputFloatN() and InputInt().
This commit is contained in:
parent
251bc6c22c
commit
ce7b04e8b9
@ -8531,7 +8531,6 @@ bool ImGui::InputFloatN(const char* label, float* v, int components, int decimal
|
|||||||
}
|
}
|
||||||
PopID();
|
PopID();
|
||||||
|
|
||||||
window->DC.CurrentLineTextBaseOffset = ImMax(window->DC.CurrentLineTextBaseOffset, g.Style.FramePadding.y);
|
|
||||||
TextUnformatted(label, FindRenderedTextEnd(label));
|
TextUnformatted(label, FindRenderedTextEnd(label));
|
||||||
EndGroup();
|
EndGroup();
|
||||||
|
|
||||||
@ -8574,7 +8573,6 @@ bool ImGui::InputIntN(const char* label, int* v, int components, ImGuiInputTextF
|
|||||||
}
|
}
|
||||||
PopID();
|
PopID();
|
||||||
|
|
||||||
window->DC.CurrentLineTextBaseOffset = ImMax(window->DC.CurrentLineTextBaseOffset, g.Style.FramePadding.y);
|
|
||||||
TextUnformatted(label, FindRenderedTextEnd(label));
|
TextUnformatted(label, FindRenderedTextEnd(label));
|
||||||
EndGroup();
|
EndGroup();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user