From ce7b04e8b97d451f4888168ec76f95bc35a5de09 Mon Sep 17 00:00:00 2001 From: omar Date: Fri, 13 Oct 2017 23:59:17 +0200 Subject: [PATCH] Removed apparently unncessary code in InputFloatN() and InputInt(). --- imgui.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/imgui.cpp b/imgui.cpp index 2657fa2c..01590667 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -8531,7 +8531,6 @@ bool ImGui::InputFloatN(const char* label, float* v, int components, int decimal } PopID(); - window->DC.CurrentLineTextBaseOffset = ImMax(window->DC.CurrentLineTextBaseOffset, g.Style.FramePadding.y); TextUnformatted(label, FindRenderedTextEnd(label)); EndGroup(); @@ -8574,7 +8573,6 @@ bool ImGui::InputIntN(const char* label, int* v, int components, ImGuiInputTextF } PopID(); - window->DC.CurrentLineTextBaseOffset = ImMax(window->DC.CurrentLineTextBaseOffset, g.Style.FramePadding.y); TextUnformatted(label, FindRenderedTextEnd(label)); EndGroup();