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

New commits:
commit b8d560ddb948eb3de82a59cdb2dfd8c8ec0ae25c
Author: Andras Timar <andras.ti...@collabora.com>
Date:   Mon Jan 25 10:34:40 2016 +0100

    loleaflet: focus to hidden input field when user presses Cmd (Meta)

diff --git a/loleaflet/src/map/handler/Map.Keyboard.js 
b/loleaflet/src/map/handler/Map.Keyboard.js
index e765bcf..8c10cef 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -378,6 +378,8 @@ L.Map.Keyboard = L.Handler.extend({
                        case 88: // x
                        case 99: // c (Safari)
                        case 120: // x (Safari)
+                       case 91: // Left Cmd (Safari)
+                       case 93: // Right Cmd (Safari)
                                // we prepare for a copy or cut event
                                this._map._docLayer._textArea.value = 'dummy 
text';
                                this._map._docLayer._textArea.focus();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to