1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-20 15:40:32 +00:00

Reset effect icon transparency when they're hidden (#5877)

This commit is contained in:
Alexei Dobrohotov 2021-03-03 21:13:05 +03:00 committed by Dobrohotov Alexei
parent 54a7048eed
commit 5e91af230d
2 changed files with 4 additions and 1 deletions

View File

@ -104,6 +104,7 @@
Bug #5840: GetSoundPlaying "Health Damage" doesn't play when NPC hits target with shield effect ( vanilla engine behavior )
Bug #5841: Can't Cast Zero Cost Spells When Magicka is < 0
Bug #5871: The console appears if you type the Russian letter "Ё" in the name of the enchantment
Bug #5877: Effects appearing with empty icon
Feature #390: 3rd person look "over the shoulder"
Feature #1536: Show more information about level on menu
Feature #2386: Distant Statics in the form of Object Paging

View File

@ -181,7 +181,9 @@ namespace MWGui
}
else if (mWidgetMap.find(effectId) != mWidgetMap.end())
{
mWidgetMap[effectId]->setVisible(false);
MyGUI::ImageBox* image = mWidgetMap[effectId];
image->setVisible(false);
image->setAlpha(1.f);
}
}