Browse Source

Skip touch interactions with stash when stash is not open

pull/4930/head
staphen 4 years ago committed by Anders Jenbo
parent
commit
1085cf1d62
  1. 2
      Source/controls/touch/event_handlers.cpp

2
Source/controls/touch/event_handlers.cpp

@ -118,7 +118,7 @@ void HandleCharacterPanelInteraction(const SDL_Event &event)
void HandleStashPanelInteraction(const SDL_Event &event)
{
if (pcurs >= CURSOR_FIRSTITEM)
if (!IsStashOpen || pcurs >= CURSOR_FIRSTITEM)
return;
if (event.type != SDL_FINGERUP) {

Loading…
Cancel
Save