[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3-0' - loleaflet/dist

Pranav Kant pranavk at collabora.co.uk
Mon Jan 15 19:10:54 UTC 2018


 loleaflet/dist/loleaflet.css |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit f3cb71180b5814eb36f0e0bfaac77f7f8b758841
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Fri Jan 12 18:19:50 2018 +0530

    loleaflet: Don't allow selecting the dialog canvas
    
    Change-Id: I8c88183f0fbb29b5cd815240105153b71c5eb2ce
    Reviewed-on: https://gerrit.libreoffice.org/47808
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/loleaflet/dist/loleaflet.css b/loleaflet/dist/loleaflet.css
index 79e04619..57185f0e 100644
--- a/loleaflet/dist/loleaflet.css
+++ b/loleaflet/dist/loleaflet.css
@@ -352,4 +352,9 @@ body {
         cursor: default;
         display: block; /* required to remove all borders around canvas element */
         caret-color: transparent; /* firefox shows a caret otherwise on top-left of the canvas */
+        user-select: none;
+        -moz-user-select: none;
+        -khtml-user-select: none;
+        -webkit-user-select: none;
+        -o-user-select: none;
 }


More information about the Libreoffice-commits mailing list