loleaflet/src/map/handler/Map.Keyboard.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 31730de94731ad1aa8e55633129e80aded63ed62 Author: Tor Lillqvist <[email protected]> AuthorDate: Fri Dec 13 16:51:05 2019 +0200 Commit: Tor Lillqvist <[email protected]> CommitDate: Fri Dec 13 16:47:20 2019 +0100 Improve comments what some keyCode values actually mean 67, 88, 99, and 120 are simply the code points of the 'C', 'X', 'c', and 'x' letters in decimal. Change-Id: I3428bb44a3d41b3ff774ac963ea85c3a2e11a4b6 Reviewed-on: https://gerrit.libreoffice.org/85123 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Tor Lillqvist <[email protected]> diff --git a/loleaflet/src/map/handler/Map.Keyboard.js b/loleaflet/src/map/handler/Map.Keyboard.js index c5f7fc4f6..4c9e8e9b2 100644 --- a/loleaflet/src/map/handler/Map.Keyboard.js +++ b/loleaflet/src/map/handler/Map.Keyboard.js @@ -488,10 +488,10 @@ L.Map.Keyboard = L.Handler.extend({ return true; } return false; - case 67: // c - case 88: // x - case 99: // c (Safari) - case 120: // x (Safari) + case 67: // 'C' + case 88: // 'X' + case 99: // 'c' + case 120: // 'x' case 91: // Left Cmd (Safari) case 93: // Right Cmd (Safari) // we prepare for a copy or cut event _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
