mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 17:13:51 +00:00
polish(editor): NPC selected-editor Facing slider shows 'deg' unit (matches template)
This commit is contained in:
parent
597c6547ac
commit
a156b6246e
1 changed files with 1 additions and 1 deletions
|
|
@ -1979,7 +1979,7 @@ void EditorUI::renderNpcPanel(EditorApp& app) {
|
|||
ImGui::PopStyleColor();
|
||||
|
||||
ImGui::DragFloat3("Pos##npc", &sel->position.x, 1.0f);
|
||||
ImGui::SliderFloat("Facing", &sel->orientation, 0.0f, 360.0f, "%.0f");
|
||||
ImGui::SliderFloat("Facing", &sel->orientation, 0.0f, 360.0f, "%.0f deg");
|
||||
ImGui::DragFloat("Scale##s", &sel->scale, 0.05f, 0.1f, 50.0f, "%.2f");
|
||||
int hp2 = sel->health; if (ImGui::InputInt("HP##s", &hp2)) sel->health = std::max(1, hp2);
|
||||
int lv2 = sel->level; if (ImGui::InputInt("Lv##s", &lv2)) sel->level = std::max(1, lv2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue