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

New commits:
commit 650ea84b4fa30c76440a00441c3ac7d643d68140
Author: Andras Timar <andras.ti...@collabora.com>
Date:   Mon Jan 25 12:03:24 2016 +0100

    loleaflet: Cmd on Mac should be sent as Ctrl to server (Linux)

diff --git a/loleaflet/src/map/handler/Map.Keyboard.js 
b/loleaflet/src/map/handler/Map.Keyboard.js
index 8c10cef..8b97241 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -230,7 +230,7 @@ L.Map.Keyboard = L.Handler.extend({
                var shift = e.originalEvent.shiftKey ? this.keyModifier.shift : 
0;
                var ctrl = e.originalEvent.ctrlKey ? this.keyModifier.ctrl : 0;
                var alt = e.originalEvent.altKey ? this.keyModifier.alt : 0;
-               var cmd = e.originalEvent.metaKey ? this.keyModifier.ctrlMac : 
0;
+               var cmd = e.originalEvent.metaKey ? this.keyModifier.ctrl : 0;
                this.modifier = shift | ctrl | alt | cmd;
 
                if (ctrl || cmd) {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to