Fixed calculation of icon position with extreme sprite offset values
This commit is contained in:
1 parent
283bc8a21f
commit
e62f3651b5
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -523,7 +523,7 @@ function EID:renderInlineIcons(spriteTable, posX, posY)
|
||||
else
|
||||
spriteObj:Update()
|
||||
end
|
||||
EID:renderIcon(spriteObj, posX + sprite[2] + Xoffset, posY + Yoffset)
|
||||
EID:renderIcon(spriteObj, posX + sprite[2] + Xoffset * EID.Config["Scale"], posY + Yoffset * EID.Config["Scale"])
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -190,7 +190,7 @@ function EID:printDescription(desc)
|
||||
end
|
||||
EID:renderString(
|
||||
curName,
|
||||
renderPos + (Vector(offsetX, -4) * EID.Config["Scale"]),
|
||||
renderPos + (Vector(offsetX, -3) * EID.Config["Scale"]),
|
||||
textScale,
|
||||
EID:getNameColor()
|
||||
)
|
||||
|
||||
+1
-1
@@ -76,7 +76,7 @@ https://moddingofisaac.com/mod/1079/external-item-descriptions
|
||||
- [url=https://steamcommunity.com/id/whytefang/]adc[/url] for creating an awesome new Languagepack and providing ideas for new functionalities
|
||||
|
||||
[img]https://i.imgur.com/P6a8043.png[/img] [url=https://github.com/wofsauge/External-Item-Descriptions]Any Problems? Visit this project on GitHub[/url]</description>
|
||||
<version>3.20</version>
|
||||
<version>3.22</version>
|
||||
<visibility>Public</visibility>
|
||||
<tag id="Lua"/>
|
||||
<tag id="Items"/>
|
||||
|
||||
Reference in new issue
Block a user