From 0df01f74aac44831c7a8e181625058d2db6b8133 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 26 Jan 2023 00:54:57 +0100 Subject: Group count inputs are sliders again --- kurator/src/ScenarioEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kurator/src/ScenarioEditor.cpp b/kurator/src/ScenarioEditor.cpp index ee73839..9b20a14 100644 --- a/kurator/src/ScenarioEditor.cpp +++ b/kurator/src/ScenarioEditor.cpp @@ -120,7 +120,7 @@ groups_editor(std::shared_ptr repo, std::vector& gr ImGui::TableNextColumn(); ImGui::PushID(jt - it->counts.begin()); ImGui::PushItemWidth(-std::numeric_limits::min()); - changed |= ImGui::DragInt("##Count", &(*jt), 0.2f, 0, 20); + changed |= ImGui::SliderInt("##Count", &(*jt), 0, 20); ImGui::PopItemWidth(); ImGui::PopID(); } -- cgit v1.1