loleaflet/css/loleaflet.css              |    6 ++++--
 loleaflet/src/control/Control.Menubar.js |    3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)

New commits:
commit 3e0b496f451417bcac35a75868ec818587ba4b5d
Author:     Pedro Pinto Silva <pedro.si...@collabora.com>
AuthorDate: Thu Dec 19 12:37:44 2019 +0100
Commit:     Pedro Pinto da Silva <pedro.si...@collabora.com>
CommitDate: Thu Dec 19 12:44:50 2019 +0100

    Desktop: Document-container: Fix missing text cursor on text document types
    - make sure document container has doctype class every time
    - set auto cursor for spreadsheet and presentations only
    
    Change-Id: I2cb7b0bdaefa51e01745291c78501a7495da2289
    Reviewed-on: https://gerrit.libreoffice.org/85515
    Reviewed-by: Pedro Pinto da Silva <pedro.si...@collabora.com>
    Tested-by: Pedro Pinto da Silva <pedro.si...@collabora.com>
    (cherry picked from commit e981bf26b32a260df25553c8232f6b73f92e4fa5)
    Reviewed-on: https://gerrit.libreoffice.org/85516

diff --git a/loleaflet/css/loleaflet.css b/loleaflet/css/loleaflet.css
index 626ec32c6..52038a224 100644
--- a/loleaflet/css/loleaflet.css
+++ b/loleaflet/css/loleaflet.css
@@ -31,9 +31,11 @@
        left: 0px;
        right: 0px;
        z-index: 10;
-       cursor: default;
+       cursor: auto;
+}
+#document-container.text-doctype > #map{
+       cursor: text;
 }
-
 .scroll-container .mCSB_scrollTools.mCSB_1_scrollbar {
        position: absolute;
        z-index: 1000;
diff --git a/loleaflet/src/control/Control.Menubar.js 
b/loleaflet/src/control/Control.Menubar.js
index 2b8af4510..86e420050 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -1229,7 +1229,8 @@ L.Control.Menubar = L.Control.extend({
                } else if (docType === 'presentation' || docType === 'drawing') 
{
                        iconClass += ' impress-icon-img';
                }
-               $('.main-nav').addClass(docType += '-color-indicator');
+               $('.main-nav').addClass(docType + '-color-indicator');
+               $('#document-container').addClass(docType + '-doctype');
 
                var liItem = L.DomUtil.create('li', '');
                liItem.id = 'document-header';
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to