print screen dims

develop
Myk Taylor 2023-09-24 22:00:15 -07:00
parent b3fdaa54c5
commit e8f0de4078
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

@ -213,6 +213,7 @@ end
local function click_top_title_button(scr)
local sw, sh = dfhack.screen.getWindowSize()
print(('screen dimensions: %d, %d'):format(sw. sh))
df.global.gps.mouse_x = sw // 2
df.global.gps.precise_mouse_x = df.global.gps.mouse_x * df.global.gps.tile_pixel_x
if sh < 60 then