From 92f91bb8545cb0d04ed43d210c0ef2354dbd5912 Mon Sep 17 00:00:00 2001 From: Kyle Conel Date: Mon, 15 Jul 2024 21:49:24 -0400 Subject: [PATCH] Delete textbox editor --- src/editor/JulGameEditor/Editor.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/JulGameEditor/Editor.jl b/src/editor/JulGameEditor/Editor.jl index 2e5fa38c..66187861 100644 --- a/src/editor/JulGameEditor/Editor.jl +++ b/src/editor/JulGameEditor/Editor.jl @@ -326,7 +326,7 @@ module Editor CImGui.Separator() CImGui.Text("Delete UI Element: NO CONFIRMATION") if CImGui.Button("Delete") - #MainLoop.DestroyEntity(currentSceneMain.scene.uiElements[uiElementIndex]) + MainLoop.DestroyUIElement(currentSceneMain.scene.uiElements[uiElementIndex]) break end