Drags, Sliders: Removed locking behavior with min > max (added in 1.73)

This commit is contained in:
omar
2020-07-27 16:23:38 +02:00
committed by ocornut
parent 7f8f0096d8
commit f32663b33c
5 changed files with 28 additions and 24 deletions

View File

@ -634,13 +634,15 @@ enum ImGuiButtonFlagsPrivate_
// Extend ImGuiDragFlags_
enum ImGuiDragFlagsPrivate_
{
ImGuiDragFlags_Vertical = 1 << 20 // Should this widget be orientated vertically?
ImGuiDragFlags_Vertical = 1 << 20, // Should this widget be orientated vertically?
ImGuiDragFlags_ReadOnly = 1 << 21
};
// Extend ImGuiSliderFlags_
enum ImGuiSliderFlagsPrivate_
{
ImGuiSliderFlags_Vertical = 1 << 20 // Should this slider be orientated vertically?
ImGuiSliderFlags_Vertical = 1 << 20, // Should this slider be orientated vertically?
ImGuiSliderFlags_ReadOnly = 1 << 21
};
// Extend ImGuiSelectableFlags_