Fixes compile errors
This commit is contained in:
@@ -38,10 +38,7 @@ namespace fgl::engine::gui
|
||||
void drawComponentsList( GameObject& game_object )
|
||||
{
|
||||
ImGui::PushStyleVar( ImGuiStyleVar_ChildRounding, 5.0f );
|
||||
ImGui::BeginChild(
|
||||
"ComponentsList",
|
||||
ImVec2( 0, 0 ),
|
||||
ImGuiChildFlags_AutoResizeY | ImGuiChildFlags_Border | ImGuiChildFlags_ResizeY );
|
||||
ImGui::BeginChild( "ComponentsList", ImVec2( 0, 0 ), ImGuiChildFlags_AutoResizeY | ImGuiChildFlags_ResizeY );
|
||||
|
||||
ImGui::SeparatorText( "Components" );
|
||||
|
||||
@@ -55,7 +52,7 @@ namespace fgl::engine::gui
|
||||
ImGui::EndChild();
|
||||
ImGui::PopStyleVar();
|
||||
|
||||
ImGui::BeginChild( "Selected", ImVec2( 0, 0 ), ImGuiChildFlags_Border );
|
||||
ImGui::BeginChild( "Selected", ImVec2( 0, 0 ) );
|
||||
|
||||
if ( SELECTED_COMPONENT != nullptr && std::ranges::find( components, SELECTED_COMPONENT ) != components.end() )
|
||||
{
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// Created by kj16609 on 6/5/24.
|
||||
//
|
||||
|
||||
|
||||
// ReSharper disable CppDFAInfiniteRecursion
|
||||
// ReSharper disable CppInconsistentNaming
|
||||
// ReSharper disable CppZeroConstantCanBeReplacedWithNullptr
|
||||
@@ -18,7 +17,8 @@
|
||||
|
||||
#include <string_view>
|
||||
|
||||
#include "engine/FGL_DEFINES.hpp"
|
||||
#include "imgui.h"
|
||||
#include "libFGL/include/fgl/defines.hpp"
|
||||
|
||||
namespace ImGui
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user