Skip to content

Commit 41becdf

Browse files
authored
FEAT!: implements lua side hotkey for screenshots (#408)
Changes the hotkey from just prints screen to control print screen to prevent potential conflicts with other screenshot programs.
1 parent f4c8e1a commit 41becdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Launch.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ function launch:OnKeyDown(key, doubleClick)
153153
if not self.devMode then
154154
self:CheckForUpdate()
155155
end
156+
elseif key == "PRINTSCREEN" and IsKeyDown("CTRL") then
157+
TakeScreenshot()
156158
elseif self.promptMsg then
157159
self:RunPromptFunc(key)
158160
else

0 commit comments

Comments
 (0)