Skip to content

Commit

Permalink
fix input dropping
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLubar committed Oct 17, 2023
1 parent fc62a7a commit 7c9c57d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/client/swarm/vgui/briefingframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ BriefingFrame::BriefingFrame(Panel *parent, const char *panelName, bool showTask
RequestFocus();
SetVisible(true);
SetEnabled(true);
// this causes an assert, but without it, binds don't work
SetKeyBoardInputEnabled(false);
SetZPos(200);
SetAlpha(0);

Expand Down
4 changes: 4 additions & 0 deletions src/game/client/swarm/vgui/tabbedgriddetails.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@ void TabbedGridDetails::ShowFullScreen()
else if ( engine->IsConnected() )
{
SetParent( GetClientMode()->GetViewport() );
}

if ( engine->IsConnected() )
{
MakePopup( false );
}

Expand Down

0 comments on commit 7c9c57d

Please sign in to comment.