mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Fixed List add/remove element buttons not working
This commit is contained in:
@@ -597,8 +597,8 @@ internal class EntityEditor
|
|||||||
|
|
||||||
// The buttons should always be visible -> save whether the node is open
|
// The buttons should always be visible -> save whether the node is open
|
||||||
// If we have no instance, the user shouldn't be able to open the list
|
// If we have no instance, the user shouldn't be able to open the list
|
||||||
bool listOpen = ImGui.TreeNodeEx(fieldName,
|
bool listOpen = ImGui.TreeNodeEx(fieldName, ImGuiTreeNodeFlags.AllowOverlap | ImGuiTreeNodeFlags.SpanFullWidth |
|
||||||
myList == null ? ImGuiTreeNodeFlags.Leaf | ImGuiTreeNodeFlags.NoTreePushOnOpen : ImGuiTreeNodeFlags.Framed);
|
(myList == null ? ImGuiTreeNodeFlags.Leaf | ImGuiTreeNodeFlags.NoTreePushOnOpen : ImGuiTreeNodeFlags.Framed));
|
||||||
|
|
||||||
if (myList == null)
|
if (myList == null)
|
||||||
listOpen = false;
|
listOpen = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user