[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3' - loleaflet/src
Marco Cecchetti
marco.cecchetti at collabora.com
Fri Apr 6 16:44:40 UTC 2018
loleaflet/src/map/handler/Map.Keyboard.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit e19cb92c947bb769c66616ba99081e9225dc7af9
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date: Fri Apr 6 18:24:43 2018 +0200
loleaflet: calc: F2 doesn't trigger cell edit mode in Chrome
Function keys need to be handled on keydown in order for them to work
in chrome.
Change-Id: Ifb7ae22a77df116ffe4809390e7151342c4170a7
Reviewed-on: https://gerrit.libreoffice.org/52519
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/loleaflet/src/map/handler/Map.Keyboard.js b/loleaflet/src/map/handler/Map.Keyboard.js
index 4011898a9..f83caf3d3 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -136,7 +136,8 @@ L.Map.Keyboard = L.Handler.extend({
39 : true, // right arrow
40 : true, // down arrow
45 : true, // insert
- 46 : true // delete
+ 46 : true, // delete
+ 113 : true // f2
},
keyCodes: {
More information about the Libreoffice-commits
mailing list