Compare commits
2 commits
d9755a31fe
...
ca7b71fb36
Author | SHA1 | Date | |
---|---|---|---|
ca7b71fb36 | |||
132c46da89 |
2 changed files with 2 additions and 2 deletions
|
@ -468,6 +468,7 @@ Application::drawDecalEditor(GameObjects::Decal& decal) {
|
|||
ImGui::SameLine();
|
||||
|
||||
ImGui::BeginGroup();
|
||||
ImGui::PushItemWidth(-1.0f);
|
||||
ImGui::PushMultiItemsWidths(3, ImGui::CalcItemWidth());
|
||||
ImGui::DragFloat("##PosX", &decal.position.x(), 1.0f, -FLT_MAX, +FLT_MAX, "X: %.3f");
|
||||
ImGui::PopItemWidth();
|
||||
|
@ -497,6 +498,7 @@ Application::drawDecalEditor(GameObjects::Decal& decal) {
|
|||
ImGui::SameLine(0.0f, ImGui::GetStyle().ItemInnerSpacing.x);
|
||||
ImGui::DragFloat("##VZ", &decal.vAxis.z(), 1.0f, -FLT_MAX, +FLT_MAX, "Z: %.3f");
|
||||
ImGui::PopItemWidth();
|
||||
ImGui::PopItemWidth();
|
||||
ImGui::EndGroup();
|
||||
}
|
||||
|
||||
|
|
|
@ -158,8 +158,6 @@ Application::drawWeapons() {
|
|||
|
||||
ImGui::EndGroup();
|
||||
|
||||
ImGui::SameLine();
|
||||
ImGui::SeparatorEx(ImGuiSeparatorFlags_Vertical);
|
||||
ImGui::SameLine();
|
||||
|
||||
if(!_currentWeapon) {
|
||||
|
|
Loading…
Reference in a new issue