Droppable items fix
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -40,6 +40,11 @@ void UMainGameWidget::OpenWidget(UEleriBaseWidget* Widget)
|
|||||||
{
|
{
|
||||||
Widget->DisplayInputPrompts();
|
Widget->DisplayInputPrompts();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!WidgetStack.IsEmpty())
|
||||||
|
{
|
||||||
|
WidgetStack[WidgetStack.Num() - 1]->SetFocus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void UMainGameWidget::CloseWidget(UEleriBaseWidget* Widget)
|
void UMainGameWidget::CloseWidget(UEleriBaseWidget* Widget)
|
||||||
@@ -63,6 +68,11 @@ void UMainGameWidget::CloseWidget(UEleriBaseWidget* Widget)
|
|||||||
{
|
{
|
||||||
GetScreenActionInputDisplayWidget()->SetVisibility(ESlateVisibility::Hidden);
|
GetScreenActionInputDisplayWidget()->SetVisibility(ESlateVisibility::Hidden);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!WidgetStack.IsEmpty())
|
||||||
|
{
|
||||||
|
WidgetStack[WidgetStack.Num() - 1]->SetFocus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool UMainGameWidget::IsBookOpen() const
|
bool UMainGameWidget::IsBookOpen() const
|
||||||
|
|||||||
Reference in New Issue
Block a user