1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2025-02-20 23:47:16 -05:00

Bugfix inventory panel position (#673)

* adding simple inventory item descriptions

* adding method to identify items

* offset description so it doesn't overlap with item in inventory grid

* needed to offset inv panel by 1px
This commit is contained in:
lord 2020-08-03 10:47:45 -07:00 committed by GitHub
parent 76ed8ff180
commit f49770a0d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,7 +168,7 @@ func (g *Inventory) Render(target d2interface.Surface) error {
return err
}
x, y = g.originX, g.originY
x, y = g.originX+1, g.originY
y += 64
// Panel