mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 22:09:55 +00:00
Item icons no longer overlap item name text
This commit is contained in:
parent
66ceab32d8
commit
7b0b8e0a9c
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue