loleaflet/src/dom/DomEvent.DoubleTap.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit d0906c12d82e0242b0709349979a9061da9c6a83
Author: Faruk Uzun <faruku...@collabora.com>
Date:   Mon Apr 11 19:31:32 2016 +0300

    loleaflet: make sure double-tap selects words on touch devices
    
    related bccu#1300
    
    Change-Id: I354e7e6f6e3d53aad2cf9396e71ad4a2ad2d1a97
    Reviewed-on: https://gerrit.libreoffice.org/24000
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>
    Tested-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/loleaflet/src/dom/DomEvent.DoubleTap.js 
b/loleaflet/src/dom/DomEvent.DoubleTap.js
index 43f8865..d0f374b 100644
--- a/loleaflet/src/dom/DomEvent.DoubleTap.js
+++ b/loleaflet/src/dom/DomEvent.DoubleTap.js
@@ -46,6 +46,7 @@ L.extend(L.DomEvent, {
                                        touch = newTouch;
                                }
                                touch.type = 'dblclick';
+                               touch.button = 0;
                                handler(touch);
                                last = null;
                        }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to