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

New commits:
commit f3cb71180b5814eb36f0e0bfaac77f7f8b758841
Author: Pranav Kant <pran...@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 <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@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;
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to