1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Fix mouse scroll not working in right-click popups

This commit is contained in:
Ivan Savenko 2024-07-19 19:36:05 +00:00
parent 1dec5e56a9
commit 75fd67a921

View File

@ -248,7 +248,7 @@ void CRClickPopup::createAndPush(const CGObjectInstance * obj, const Point & p,
CRClickPopupInt::CRClickPopupInt(const std::shared_ptr<CIntObject> & our)
{
CCS->curh->hide();
defActions = SHOWALL | UPDATE;
defActions = 255-DISPOSE;
our->recActions = defActions;
inner = our;
addChild(our.get(), false);