Widgets: Fix manually hidden entities being incorrectly shown when widget itself is shown

This commit is contained in:
SirLynix
2023-08-24 07:54:33 +02:00
parent e145501568
commit 1b7a89213d
10 changed files with 63 additions and 45 deletions

View File

@@ -85,7 +85,7 @@ namespace Nz
virtual ~BaseWidgetStyle();
inline entt::entity CreateEntity();
entt::entity CreateGraphicsEntity();
inline entt::entity CreateGraphicsEntity(Node* parent = nullptr);
inline void DestroyEntity(entt::entity entity);
template<typename T> T* GetOwnerWidget() const;