Skip to content

Commit

Permalink
fix: reopening with shortcut fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mihakrajnc committed Jan 20, 2025
1 parent fed8132 commit e923448
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Explorer/Assets/DCL/UI/Controls/ControlsPanelController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ private void OnShortcutPressed(InputAction.CallbackContext ctx)
mvcManager.ShowAsync(IssueCommand()).Forget();
}

protected override void OnViewClose()
{
closePanel = false;
}

protected override UniTask WaitForCloseIntentAsync(CancellationToken ct) =>
UniTask.WhenAny(
viewInstance!.closeButton.OnClickAsync(ct),
Expand Down

0 comments on commit e923448

Please sign in to comment.