mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
inventory centrize in 16:9
This commit is contained in:
parent
fad4bb1681
commit
1419e989cd
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ class Window_Help < Window_Base
|
|||
# * Object Initialization
|
||||
#--------------------------------------------------------------------------
|
||||
def initialize
|
||||
super(Graphics.width / 2 - 304, 16, 608, 64)
|
||||
super(Graphics.width / 2 - 304, Graphics.height > 600 ? Graphics.height / 2 - 160 : 16, 608, 64)
|
||||
self.contents = Bitmap.new(width - 32, height - 32)
|
||||
Language.register_text_sprite(self.class.name + "_contents", self.contents)
|
||||
self.visible = false
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ class Window_Item < Window_Selectable
|
|||
# * Object Initialization
|
||||
#--------------------------------------------------------------------------
|
||||
def initialize
|
||||
super(Graphics.width / 2 - 304, 96, 608, 224)
|
||||
super(Graphics.width / 2 - 304, Graphics.height > 600 ? Graphics.height / 2 - 80 : 96, 608, 224)
|
||||
@column_max = COLUMN_MAX
|
||||
refresh
|
||||
self.index = 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue