We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87d88c6 commit 13ad4a9Copy full SHA for 13ad4a9
confirm.lua
@@ -66,7 +66,8 @@ function ConfirmOverlay:init()
66
end
67
68
function ConfirmOverlay:preUpdateLayout()
69
- self.frame.w, self.frame.h = dfhack.screen.getWindowSize()
+ local interface_rect = gui.get_interface_rect()
70
+ self.frame.w, self.frame.h = interface_rect.width, interface_rect.height
71
-- reset frames if any of them have been pushed out of position
72
for id, conf in pairs(specs.REGISTRY) do
73
if conf.intercept_frame then
0 commit comments