[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2-4' - loleaflet/src

Marco Cecchetti (via logerrit) logerrit at kemper.freedesktop.org
Mon Jun 1 17:32:26 UTC 2020


 loleaflet/src/control/Control.LokDialog.js |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit ec6f108a24bba23fd17c398079b08586bc987182
Author:     Marco Cecchetti <marco.cecchetti at collabora.com>
AuthorDate: Thu May 7 13:14:05 2020 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Jun 1 19:32:07 2020 +0200

    leaflet: formula bar: missing text selection handles
    
    mobile: double tap a word
    double tap the next word
    the new word is selected but there is no selection handles
    
    Change-Id: I283dc1b177910605826102daaa28714c65190f4f
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95225
    Tested-by: Jenkins
    Reviewed-by: Marco Cecchetti <marco.cecchetti at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95263
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/src/control/Control.LokDialog.js b/loleaflet/src/control/Control.LokDialog.js
index a96ae309f..dfddbdfc2 100644
--- a/loleaflet/src/control/Control.LokDialog.js
+++ b/loleaflet/src/control/Control.LokDialog.js
@@ -503,6 +503,9 @@ L.Control.LokDialog = L.Control.extend({
 			handles.end = null;
 		}
 
+		if (!handles.start && !handles.end)
+			handles.draggingStopped = true;
+
 		if (!rectangles || rectangles.length < 1) {
 			return;
 		}


More information about the Libreoffice-commits mailing list