Browse Source

game(client): fix back button in touch

pull/122/merge 1.14
nillerusr 2 years ago
parent
commit
3f5ebfbde3
  1. 4
      game/client/touch.cpp

4
game/client/touch.cpp

@ -410,6 +410,10 @@ void CTouchControls::Init() @@ -410,6 +410,10 @@ void CTouchControls::Init()
ResetToDefaults();
CTouchTexture *texture = new CTouchTexture;
texture->isInAtlas = false;
texture->textureID = 0;
texture->X0 = 0; texture->X1 = 0; texture->Y0 = 0; texture->Y1 = 0;
Q_strncpy( texture->szName, "vgui/touch/back", sizeof(texture->szName) );
textureList.AddToTail(texture);

Loading…
Cancel
Save