loleaflet/dist/loleaflet.css | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 6335fa68613248ab16bc50f2c47d88e8b824b900 Author: Pranav Kant <[email protected]> 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 <[email protected]> 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 */ } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
