Fix for cursor not being displayed when asked to display (#1574)

This commit is contained in:
michabr
2021-06-24 22:19:52 -07:00
committed by GitHub
parent 8530e783ca
commit 03138f4936
5 changed files with 2 additions and 37 deletions
@@ -202,12 +202,6 @@ namespace LyShine
LyShineAllocatorScope::DeactivateAllocators();
}
////////////////////////////////////////////////////////////////////////////////////////////////////
void LyShineSystemComponent::InitializeSystem()
{
BroadcastCursorImagePathname();
}
////////////////////////////////////////////////////////////////////////////////////////////////////
void LyShineSystemComponent::RegisterComponentTypeForMenuOrdering(const AZ::Uuid& typeUuid)
{
@@ -379,6 +373,8 @@ namespace LyShine
#endif
m_pLyShine = new CLyShine(gEnv->pSystem);
gEnv->pLyShine = m_pLyShine;
BroadcastCursorImagePathname();
}
void LyShineSystemComponent::OnCrySystemShutdown([[maybe_unused]] ISystem& system)