More fixing everything
This commit is contained in:
@@ -164,7 +164,7 @@ void AlxPlayerControllerBase::AddWidgetToRoot(UUserWidget *Widget)
|
||||
if (Widget->GetParent() == PC->RootCanvas) return;
|
||||
|
||||
UlxRootCanvasSlot *Slot = PC->RootCanvas->AddChildToRootCanvas(Widget);
|
||||
Slot->SetZOrder(0);
|
||||
Slot->SlotUnderConstruction = false;
|
||||
}
|
||||
|
||||
void AlxPlayerControllerBase::BuildInputStack(TArray<UInputComponent*>& InputStack)
|
||||
@@ -256,10 +256,6 @@ void AlxPlayerControllerBase::BuildInputStack(TArray<UInputComponent*>& InputSta
|
||||
|
||||
void AlxPlayerControllerBase::UpdateInputMode()
|
||||
{
|
||||
// Drain any deferred ZOrder writes from SetWidgetWindowManagement
|
||||
// before we read the front-most slot.
|
||||
RootCanvas->PropagateZOrderToSlate();
|
||||
|
||||
// Get all the various objects we need to be able to manipulate
|
||||
// the input mode.
|
||||
UGameViewportClient *GameViewportClient = GetWorld()->GetGameViewport();
|
||||
|
||||
Reference in New Issue
Block a user