Item icons no longer overlap item name text

This commit is contained in:
mshirt 2017-05-30 22:42:15 -07:00
parent 66ceab32d8
commit 7b0b8e0a9c
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -22,3 +22,4 @@ oneshot_JA_2_merge-jpn.pot
oneshot_JA_2_ver4.pot
oneshot_JA_2_fixed_ver3.pot
oneshot_JA_2_ver3_checked.pot
oneshot_JA_Mariko1_WIP.pot

View file

@ -80,7 +80,7 @@ class Window_Item < Window_Selectable
x = index % 2 * (self.width / COLUMN_MAX)
y = index / 2 * 32
off = index == @index ? 2 : 0
rect = Rect.new(x, y, self.width / COLUMN_MAX - 32, 32)
rect = Rect.new(x + 32, y, self.width / COLUMN_MAX - 64, 32)
self.contents.draw_text(rect, item.name, 1)
bitmap = RPG::Cache.icon(item.icon_name)