SliderInt: Fixed click/drag when v_min==v_max from setting the value to zero. (#3774)

This commit is contained in:
Erwin Coumans
2021-01-31 10:26:50 -08:00
committed by ocornut
parent 24be26e00e
commit 4dec436161
2 changed files with 3 additions and 1 deletions

View File

@ -48,6 +48,8 @@ Other Changes:
- Tables: Fixed PopItemWidth() or multi-components items not restoring per-colum ItemWidth correctly. (#3760)
- Window: Fixed minor title bar text clipping issue when FramePadding is small/zero and there are no
close button in the window. (#3731)
- SliderInt: Fixed click/drag when v_min==v_max from setting the value to zero. (#3774) [@erwincoumans]
Would also repro with DragFloat() when using ImGuiSliderFlags_Logarithmic with v_min==v_max.
- imgui_freetype: Facilitated using FreeType integration: [@Xipiryon, @ocornut]
- Use '#define IMGUI_ENABLE_FREETYPE' in imconfig.h should make it work with no other modifications
other than compiling misc/freetype/imgui_freetype.cpp and linking with FreeType.