mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
actually this is much better
This commit is contained in:
parent
fb729e5166
commit
b533be8818
|
@ -236,7 +236,8 @@ the browser has the following hotkeys (assumes qwerty, ignores actual layout)
|
|||
* `F2` rename selected file/folder
|
||||
* when a file/folder is selected (in not-grid-view):
|
||||
* `Up/Down` move cursor
|
||||
* shift+`Up/Down` move cursor and scroll viewport
|
||||
* shift+`Up/Down` select and move cursor
|
||||
* ctrl+`Up/Down` move cursor and scroll viewport
|
||||
* `Space` toggle file selection
|
||||
* `Ctrl-A` toggle select all
|
||||
* when playing audio:
|
||||
|
|
|
@ -2031,9 +2031,12 @@ document.onkeydown = function (e) {
|
|||
var el = ae[d + 'ElementSibling'];
|
||||
if (el) {
|
||||
el.focus();
|
||||
if (e.shiftKey)
|
||||
if (ctrl(e))
|
||||
document.documentElement.scrollTop += (d == 'next' ? 1 : -1) * el.offsetHeight;
|
||||
|
||||
if (e.shiftKey)
|
||||
clmod(el, 'sel', 't');
|
||||
|
||||
return ev(e);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue