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

Faruk Uzun farukuzun at collabora.com
Tue May 3 10:18:39 UTC 2016


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

New commits:
commit d0906c12d82e0242b0709349979a9061da9c6a83
Author: Faruk Uzun <farukuzun at 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.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at 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;
 			}


More information about the Libreoffice-commits mailing list