mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 09:33:51 +00:00
polish(editor): placement scale slider matches selected-object range (0.1-50)
This commit is contained in:
parent
a156b6246e
commit
bc6e60c6e9
1 changed files with 1 additions and 1 deletions
|
|
@ -1544,7 +1544,7 @@ void EditorUI::renderObjectPanel(EditorApp& app) {
|
|||
if (ImGui::Checkbox("Snap Ground", &snap))
|
||||
placer.setSnapToGround(snap);
|
||||
float scale = placer.getPlacementScale();
|
||||
if (ImGui::SliderFloat("Scale", &scale, 0.1f, 10.0f, "%.2f"))
|
||||
if (ImGui::DragFloat("Scale", &scale, 0.05f, 0.1f, 50.0f, "%.2f"))
|
||||
placer.setPlacementScale(scale);
|
||||
|
||||
ImGui::Separator();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue