konmai intensifies

thx SG
This commit is contained in:
ed 2025-09-04 23:48:22 +00:00
parent eeb7738b53
commit bd6d1f961d
3 changed files with 14 additions and 4 deletions

View file

@ -882,6 +882,9 @@ html.y #path a:hover {
#flogout {
display: inline;
}
html.dz #flogout {
margin-left: 1em;
}
#goh+span {
color: var(--bg-u5);
padding-left: .5em;

View file

@ -16521,10 +16521,15 @@ var ahotkeys = function (e) {
konmai = konmai && kl == konmak[0] ? (konmai<3?konmai:1):0;
else if (++konmai >= konmak.length) {
konmai = -1;
apply_perms(treectl.lsc);
fileman.render();
document.documentElement.scrollTop = 0;
settheme.go(6);
start_actx();
sfx_nice();
toast.inf(9, 'omega clearance granted', null, 'top');
setTimeout(function() {
apply_perms(treectl.lsc);
fileman.render();
}, 573);
return ev(e);
}

View file

@ -732,7 +732,7 @@ function Donut(uc, st) {
tstrober = setInterval(strobe, 300);
if (uc.upsfx && actx && actx.state != 'suspended')
sfx();
sfx_nice();
// firefox may forget that filedrops are user-gestures so it can skip this:
if (uc.upnag && Notification && Notification.permission == 'granted')
@ -745,8 +745,10 @@ function Donut(uc, st) {
if (!txt)
clearInterval(tstrober);
}
}
function sfx() {
function sfx_nice() {
if (true) {
var osc = actx.createOscillator(),
gain = actx.createGain(),
gg = gain.gain,