mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-14 09:31:27 +03:00
Update header.tis
Adding display switching hotkey '^' (just goes to next display)
This commit is contained in:
@@ -306,6 +306,16 @@ class Header: Reactor.Component {
|
|||||||
if (pi.current_display == me.index) return;
|
if (pi.current_display == me.index) return;
|
||||||
handler.switch_display(me.index);
|
handler.switch_display(me.index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
event keyup (evt) {
|
||||||
|
if((pi.displays || []).length > 0 && evt.keyCode == 220)
|
||||||
|
{
|
||||||
|
if (pi.displays.length > pi.current_display)
|
||||||
|
handler.switch_display(pi.current_display + 1);
|
||||||
|
else
|
||||||
|
handler.switch_display(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
event click $(#transfer-file) {
|
event click $(#transfer-file) {
|
||||||
handler.transfer_file();
|
handler.transfer_file();
|
||||||
|
|||||||
Reference in New Issue
Block a user