diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-12-13 16:51:05 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-12-13 16:47:20 +0100 |
commit | 31730de94731ad1aa8e55633129e80aded63ed62 (patch) | |
tree | fbd1ca456bfac681c2dd5baa7b754aa76ca2ec53 | |
parent | a62e26a35b0e710657358ca37f484f750c43bbc4 (diff) |
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 <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r-- | loleaflet/src/map/handler/Map.Keyboard.js | 8 |
1 files changed, 4 insertions, 4 deletions
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 |