[Libreoffice-commits] online.git: 2 commits - loleaflet/dist
Pranav Kant
pranavk at collabora.co.uk
Fri Jan 12 12:53:40 UTC 2018
loleaflet/dist/loleaflet.css | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 6335fa68613248ab16bc50f2c47d88e8b824b900
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
diff --git a/loleaflet/dist/loleaflet.css b/loleaflet/dist/loleaflet.css
index c158f0f5..b4974c54 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;
}
commit f44639eca485b5d4fd4a8211075500f61259263b
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Fri Jan 12 18:14:16 2018 +0530
loleaflet: hide the caret on dialog canvas
Otherwise, on firefox, when the dialog canvas has the focus, a caret
different from the one overlayed by LOK, is shown.
Change-Id: Ie38aae59f01a3811becca0bcf50c9d7d240bfa9b
diff --git a/loleaflet/dist/loleaflet.css b/loleaflet/dist/loleaflet.css
index 5230e2df..c158f0f5 100644
--- a/loleaflet/dist/loleaflet.css
+++ b/loleaflet/dist/loleaflet.css
@@ -351,4 +351,5 @@ body {
.lokdialog_canvas {
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 */
}
More information about the Libreoffice-commits
mailing list