mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
fixed exception, fixed armor label obscuring the items
This commit is contained in:
parent
565aad3783
commit
a308d2e38a
2 changed files with 3 additions and 1 deletions
|
@ -177,7 +177,8 @@ void ToolTips::onFrame(float frameDuration)
|
|||
MWWorld::Ptr item = MWBase::Environment::get().getWorld ()->getCharacterPreviewItemSelected (realX, realY);
|
||||
|
||||
mFocusObject = item;
|
||||
tooltipSize = getToolTipViaPtr(false);
|
||||
if (!mFocusObject.isEmpty ())
|
||||
tooltipSize = getToolTipViaPtr(false);
|
||||
}
|
||||
else if (type == "Spell")
|
||||
{
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
</Widget>
|
||||
<Widget type="TextBox" skin="ProgressText" position="0 150 212 24" align="HCenter Bottom" name="ArmorRating">
|
||||
<Property key="Caption" value="Armor Rating"/>
|
||||
<Property key="NeedMouse" value="false"/>
|
||||
</Widget>
|
||||
</Widget>
|
||||
|
||||
|
|
Loading…
Reference in a new issue