mirror of
https://github.com/9001/copyparty.git
synced 2025-09-28 12:42:26 -06:00
konmai intensifies
thx SG
This commit is contained in:
parent
eeb7738b53
commit
bd6d1f961d
|
@ -882,6 +882,9 @@ html.y #path a:hover {
|
||||||
#flogout {
|
#flogout {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
html.dz #flogout {
|
||||||
|
margin-left: 1em;
|
||||||
|
}
|
||||||
#goh+span {
|
#goh+span {
|
||||||
color: var(--bg-u5);
|
color: var(--bg-u5);
|
||||||
padding-left: .5em;
|
padding-left: .5em;
|
||||||
|
|
|
@ -16521,10 +16521,15 @@ var ahotkeys = function (e) {
|
||||||
konmai = konmai && kl == konmak[0] ? (konmai<3?konmai:1):0;
|
konmai = konmai && kl == konmak[0] ? (konmai<3?konmai:1):0;
|
||||||
else if (++konmai >= konmak.length) {
|
else if (++konmai >= konmak.length) {
|
||||||
konmai = -1;
|
konmai = -1;
|
||||||
apply_perms(treectl.lsc);
|
|
||||||
fileman.render();
|
|
||||||
document.documentElement.scrollTop = 0;
|
document.documentElement.scrollTop = 0;
|
||||||
|
settheme.go(6);
|
||||||
|
start_actx();
|
||||||
|
sfx_nice();
|
||||||
toast.inf(9, 'omega clearance granted', null, 'top');
|
toast.inf(9, 'omega clearance granted', null, 'top');
|
||||||
|
setTimeout(function() {
|
||||||
|
apply_perms(treectl.lsc);
|
||||||
|
fileman.render();
|
||||||
|
}, 573);
|
||||||
return ev(e);
|
return ev(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -732,7 +732,7 @@ function Donut(uc, st) {
|
||||||
tstrober = setInterval(strobe, 300);
|
tstrober = setInterval(strobe, 300);
|
||||||
|
|
||||||
if (uc.upsfx && actx && actx.state != 'suspended')
|
if (uc.upsfx && actx && actx.state != 'suspended')
|
||||||
sfx();
|
sfx_nice();
|
||||||
|
|
||||||
// firefox may forget that filedrops are user-gestures so it can skip this:
|
// firefox may forget that filedrops are user-gestures so it can skip this:
|
||||||
if (uc.upnag && Notification && Notification.permission == 'granted')
|
if (uc.upnag && Notification && Notification.permission == 'granted')
|
||||||
|
@ -745,8 +745,10 @@ function Donut(uc, st) {
|
||||||
if (!txt)
|
if (!txt)
|
||||||
clearInterval(tstrober);
|
clearInterval(tstrober);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function sfx() {
|
function sfx_nice() {
|
||||||
|
if (true) {
|
||||||
var osc = actx.createOscillator(),
|
var osc = actx.createOscillator(),
|
||||||
gain = actx.createGain(),
|
gain = actx.createGain(),
|
||||||
gg = gain.gain,
|
gg = gain.gain,
|
||||||
|
|
Loading…
Reference in a new issue