mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 02:57:30 +00:00
Explain *1
This commit is contained in:
parent
f294575fd1
commit
9a4c1bf269
1 changed files with 1 additions and 0 deletions
|
|
@ -417,6 +417,7 @@ document.onkeyup = function(e){
|
|||
winamp.nodes.option.click();
|
||||
}else{
|
||||
switch (key){
|
||||
// *1 is used to cast these values to integers. Could be improved.
|
||||
// up arrow
|
||||
case 38: winamp.setVolume((winamp.nodes.volume.value*1)+1); break;
|
||||
// numpad 8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue