Skip to content

Commit

Permalink
Test orsay
Browse files Browse the repository at this point in the history
  • Loading branch information
yumata committed Nov 7, 2024
1 parent f828a1b commit 985b16f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -5602,8 +5602,7 @@
}

function keydownTrigger(e) {
var keycode = keyCode(e);
if (Platform.is('orsay')) Noty.show(keycode);
var keycode = keyCode(e); //Noty.show(keycode)
if (time$2 > Date.now() - 100) return;
time$2 = Date.now();
listener$k.send('keydown', {
Expand Down Expand Up @@ -5759,6 +5758,8 @@
} else longpress = false;
});
window.addEventListener("keydown", function (e) {
if (Platform.is('orsay')) Noty.show(e.keyCode + ' - ' + canianimate$1);

if (canianimate$1) {
var cannow = Date.now() - frame_time > 500;
var presed = keydown;
Expand Down

0 comments on commit 985b16f

Please sign in to comment.