1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Quick backpack window on shift+click

This commit is contained in:
SoundSSGood
2024-09-24 16:35:28 +03:00
parent 92c5fd4156
commit f0a5bcfebb
5 changed files with 17 additions and 0 deletions

View File

@@ -254,6 +254,10 @@ void EventDispatcher::handleLeftButtonClick(const Point & position, int toleranc
i->mouseClickedState = isPressed;
i->clickCancel(position);
}
else if(isPressed)
{
i->notFocusedClick();
}
}
}
}