We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ada80f9 commit f37143fCopy full SHA for f37143f
1 file changed
src/main/resources/static/js/ngl_ui.js
@@ -15,22 +15,22 @@ function default_keypress(stage, e) {
15
}
16
if (e !== undefined && e.key == "s") { // 115 is s
17
console.log("s was pressed: small screenshot (1x)");
18
- screenshot(1);
+ screenshot(stage,1);
19
20
21
if (e !== undefined && e.key == "m") { // 109 is m
22
console.log("m was pressed: medium screenshot (2x)");
23
- screenshot(2);
+ screenshot(stage,2);
24
25
26
if (e !== undefined && e.key == "l") { // 108 is l
27
console.log("l was pressed: large screenshot (3x)");
28
- screenshot(3);
+ screenshot(stage,3);
29
30
31
if (e !== undefined && e.key == "x") { // 120 is x
32
console.log("x was pressed: xtra large screenshot (4x)");
33
- screenshot(4);
+ screenshot(stage,4);
34
35
36
};
0 commit comments