summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kurator/src/ScenarioEditor.cpp2
1 files changed, 1 insertions, 1 deletions
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<universe::Repository> repo, std::vector<Group>& gr
ImGui::TableNextColumn();
ImGui::PushID(jt - it->counts.begin());
ImGui::PushItemWidth(-std::numeric_limits<float>::min());
- changed |= ImGui::DragInt("##Count", &(*jt), 0.2f, 0, 20);
+ changed |= ImGui::SliderInt("##Count", &(*jt), 0, 20);
ImGui::PopItemWidth();
ImGui::PopID();
}