mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-10 09:21:29 +03:00
fix on cm (connectin not closed somehow) and refactor isEnterKey
This commit is contained in:
@@ -250,8 +250,7 @@ class Grid: Behavior {
|
||||
idx += 1;
|
||||
}
|
||||
}
|
||||
if (evt.keyCode == Event.VK_ENTER ||
|
||||
(view.mediaVar("platform") == "OSX" && evt.keyCode == 0x4C)) {
|
||||
if (isEnterKey(evt)) {
|
||||
this.onRowDoubleClick(this.getCurrentRow());
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user