mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-31 19:20:26 +00:00
fixed exception, fixed armor label obscuring the items
This commit is contained in:
parent
565aad3783
commit
a308d2e38a
@ -177,7 +177,8 @@ void ToolTips::onFrame(float frameDuration)
|
|||||||
MWWorld::Ptr item = MWBase::Environment::get().getWorld ()->getCharacterPreviewItemSelected (realX, realY);
|
MWWorld::Ptr item = MWBase::Environment::get().getWorld ()->getCharacterPreviewItemSelected (realX, realY);
|
||||||
|
|
||||||
mFocusObject = item;
|
mFocusObject = item;
|
||||||
tooltipSize = getToolTipViaPtr(false);
|
if (!mFocusObject.isEmpty ())
|
||||||
|
tooltipSize = getToolTipViaPtr(false);
|
||||||
}
|
}
|
||||||
else if (type == "Spell")
|
else if (type == "Spell")
|
||||||
{
|
{
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
</Widget>
|
</Widget>
|
||||||
<Widget type="TextBox" skin="ProgressText" position="0 150 212 24" align="HCenter Bottom" name="ArmorRating">
|
<Widget type="TextBox" skin="ProgressText" position="0 150 212 24" align="HCenter Bottom" name="ArmorRating">
|
||||||
<Property key="Caption" value="Armor Rating"/>
|
<Property key="Caption" value="Armor Rating"/>
|
||||||
|
<Property key="NeedMouse" value="false"/>
|
||||||
</Widget>
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user