ura text input

This commit is contained in:
blinchik 2026-08-04 16:49:20 +03:00
parent 26df9f3f3c
commit c2970aeeba
2 changed files with 1 additions and 9 deletions

View file

@ -138,14 +138,6 @@ set(MAIN_SOURCE
src/signals/maindispatcher.cpp
)
# main stuff
set(MAIN_HEADERS
# ...
)
set(MAIN_SOURCE
# ...
)
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
list(APPEND MAIN_SOURCE assets/resources.rc)

View file

@ -51,7 +51,7 @@ class Window_NameInput < Window_Base
end
def init
# Create dimension information
@table_size = @character_tables[0].size
@table_size = @character_tables.values.first.size
@table_width = @table_size / @table_height
@start_x = ((width - 32) - @table_width * @char_w) / 2
@start_y = ((height - 32) - (@table_height + 1) * @char_h + BUTTON_BUFFER) / 2