summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-01-26 00:54:57 +0100
committerAki <please@ignore.pl>2023-01-26 00:54:57 +0100
commit0df01f74aac44831c7a8e181625058d2db6b8133 (patch)
tree3036bc3d47e6acc264938494ff336be04d741212
parentab7c2e78ef2dbf29f6713ac975d2c071f101b813 (diff)
downloadkurator-0df01f74aac44831c7a8e181625058d2db6b8133.zip
kurator-0df01f74aac44831c7a8e181625058d2db6b8133.tar.gz
kurator-0df01f74aac44831c7a8e181625058d2db6b8133.tar.bz2
Group count inputs are sliders again
-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();
}