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

@@ -26,6 +26,11 @@ namespace Nz
return m_widgetOwner->CreateEntity();
}
inline entt::entity BaseWidgetStyle::CreateGraphicsEntity(Node* parent)
{
return m_widgetOwner->CreateGraphicsEntity(parent);
}
inline void BaseWidgetStyle::DestroyEntity(entt::entity entity)
{
m_widgetOwner->DestroyEntity(entity);