FEAT!: implements lua side hotkey for screenshots (#8414)

Changes the hotkey from just prints screen to control print screen to
prevent potential conflicts with other screenshot programs.
This commit is contained in:
Paliak
2025-01-19 19:41:43 +01:00
committed by GitHub
parent 732a169c01
commit fc311a782c

View File

@@ -153,6 +153,8 @@ function launch:OnKeyDown(key, doubleClick)
if not self.devMode then
self:CheckForUpdate()
end
elseif key == "PRINTSCREEN" and IsKeyDown("CTRL") then
TakeScreenshot()
elseif self.promptMsg then
self:RunPromptFunc(key)
else