[Libreoffice-commits] online.git: loleaflet/src

Mihai Varga mihai.varga at collabora.com
Tue Sep 29 04:45:34 PDT 2015


 loleaflet/src/map/handler/Map.Keyboard.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 229740d18b234337a5880ee0d8a67646641ce172
Author: Mihai Varga <mihai.varga at collabora.com>
Date:   Tue Sep 29 14:44:55 2015 +0300

    loleaflet: update unoKeyCode when we change keyCode

diff --git a/loleaflet/src/map/handler/Map.Keyboard.js b/loleaflet/src/map/handler/Map.Keyboard.js
index 360d797..987d2b4 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -207,6 +207,7 @@ L.Map.Keyboard = L.Handler.extend({
 					// Chrome sets keyCode = charCode for printable keys
 					// while LO requires it to be 0
 					keyCode = 0;
+					unoKeyCode = this._toUNOKeyCode(keyCode);
 				}
 				docLayer._postKeyboardEvent('input', charCode, unoKeyCode);
 			}


More information about the Libreoffice-commits mailing list