Skip to content

Commit

Permalink
print screen dims
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Sep 25, 2023
1 parent b3fdaa5 commit e8f0de4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8f0de4

Please sign in to comment.