Compare commits
No commits in common. "ca7b71fb3669969a128f0917591cda4c1ed29c4b" and "d9755a31fee2c8d003e32c46f9e4fc793884527b" have entirely different histories.
ca7b71fb36
...
d9755a31fe
2 changed files with 2 additions and 2 deletions
|
@ -468,7 +468,6 @@ 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();
|
||||
|
@ -498,7 +497,6 @@ 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,6 +158,8 @@ Application::drawWeapons() {
|
|||
|
||||
ImGui::EndGroup();
|
||||
|
||||
ImGui::SameLine();
|
||||
ImGui::SeparatorEx(ImGuiSeparatorFlags_Vertical);
|
||||
ImGui::SameLine();
|
||||
|
||||
if(!_currentWeapon) {
|
||||
|
|
Loading…
Reference in a new issue