loleaflet/css/toolbar.css                                      |    3 ++-
 loleaflet/images/lc_fullscreen-presentation-toolbar-mobile.svg |    4 ++++
 loleaflet/src/layer/tile/ImpressTileLayer.js                   |    4 +---
 3 files changed, 7 insertions(+), 4 deletions(-)

New commits:
commit 5e035078d6dca7d77a82f397feb22ec1e0a068f2
Author:     Pedro <pedro.si...@collabora.com>
AuthorDate: Fri Oct 25 16:58:29 2019 +0200
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Tue Oct 29 12:09:00 2019 +0100

    Impress: Mobile: Toolbar-up: Remove next and previous record buttons, add 
fullscreen-presentation and icon
    
    couldn't find the uno action/command for fullscreen-presentation (it seems 
there is already a function for that action in the hamburger menu item
    
    Change-Id: I4e25f8f9ceaee15656e44775185cc8ed3856b7f7
    Reviewed-on: https://gerrit.libreoffice.org/81510
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>
    Tested-by: Szymon Kłos <szymon.k...@collabora.com>

diff --git a/loleaflet/css/toolbar.css b/loleaflet/css/toolbar.css
index ca1992b2d..61d6b2589 100644
--- a/loleaflet/css/toolbar.css
+++ b/loleaflet/css/toolbar.css
@@ -260,7 +260,7 @@
                border-right: none;
                height: 35px !important;
        }
-       #tb_actionbar_item_undo .w2ui-tb-image, #tb_actionbar_item_redo 
.w2ui-tb-image, #tb_actionbar_item_mobile_wizard .w2ui-tb-image, 
#tb_actionbar_item_prev  .w2ui-tb-image, #tb_actionbar_item_next  
.w2ui-tb-image, #tb_actionbar_item_insertion_mobile_wizard .w2ui-tb-image, 
#tb_actionbar_item_insertcomment .w2ui-tb-image{
+       #tb_actionbar_item_undo .w2ui-tb-image, #tb_actionbar_item_redo 
.w2ui-tb-image, #tb_actionbar_item_mobile_wizard .w2ui-tb-image, 
#tb_actionbar_item_prev  .w2ui-tb-image, #tb_actionbar_item_next  
.w2ui-tb-image, #tb_actionbar_item_insertion_mobile_wizard .w2ui-tb-image, 
#tb_actionbar_item_insertcomment .w2ui-tb-image, 
#tb_actionbar_item_fullscreen-presentation .w2ui-tb-image{
          min-width: 38px;
        }
 
@@ -931,6 +931,7 @@ button.leaflet-control-search-next
 .w2ui-icon.closetoolbar{ background: url('images/close_toolbar.svg') no-repeat 
center !important; }
 .w2ui-icon.sidebar_modify_page{ background: 
url('images/lc_formproperties.svg') no-repeat center !important; }
 .w2ui-icon.mobile_wizard{ background: url('images/lc_mobile_wizard.svg') 
no-repeat center !important; }
+.w2ui-icon.fullscreen-presentation{ background: 
url('images/lc_fullscreen-presentation-toolbar-mobile.svg') no-repeat center 
!important;}
 .w2ui-icon.insertion_mobile_wizard{ background: 
url('images/lc_insertion_mobile_wizard.svg') no-repeat center !important; }
 .w2ui-icon.insertcomment{ background: url('images/lc_insertcomment.svg') 
no-repeat center !important; }
 
diff --git a/loleaflet/images/lc_fullscreen-presentation-toolbar-mobile.svg 
b/loleaflet/images/lc_fullscreen-presentation-toolbar-mobile.svg
new file mode 100644
index 000000000..841dd448d
--- /dev/null
+++ b/loleaflet/images/lc_fullscreen-presentation-toolbar-mobile.svg
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="24" height="24" version="1.1" viewBox="0 0 24 24" 
xmlns="http://www.w3.org/2000/svg";>
+ <path d="m12 2a10 10 0 0 0-10 10 10 10 0 0 0 10 10 10 10 0 0 0 10-10 10 10 0 
0 0-10-10zm-2 5.5 6 4.5-6 4.5v-9z" fill="#555" style="paint-order:markers 
stroke fill"/>
+</svg>
diff --git a/loleaflet/src/layer/tile/ImpressTileLayer.js 
b/loleaflet/src/layer/tile/ImpressTileLayer.js
index 66163c82d..37d2ed858 100644
--- a/loleaflet/src/layer/tile/ImpressTileLayer.js
+++ b/loleaflet/src/layer/tile/ImpressTileLayer.js
@@ -138,11 +138,9 @@ L.ImpressTileLayer = L.TileLayer.extend({
                        items: [
                                {type: 'button',  id: 'closemobile',  img: 
'closemobile'},
                                {type: 'spacer'},
-                               {type: 'button',  id: 'prev', img: 'prev', 
hint: _UNO('.uno:PageUp', 'text')},
-                               {type: 'button',  id: 'next', img: 'next', 
hint: _UNO('.uno:PageDown', 'text')},
                                {type: 'button',  id: 'undo',  img: 'undo', 
hint: _UNO('.uno:Undo'), uno: 'Undo', disabled: true},
                                {type: 'button',  id: 'redo',  img: 'redo', 
hint: _UNO('.uno:Redo'), uno: 'Redo', disabled: true},
-                               {type: 'button',  id: 'fullscreen', img: 
'fullscreen', hint: _UNO('.uno:FullScreen', 'text')},
+                               {type: 'button',  id: 
'fullscreen-presentation', img: 'fullscreen-presentation', hint: 
_UNO('.uno:FullScreen', 'presentation')},
                                {type: 'button',  id: 'mobile_wizard', img: 
'mobile_wizard', disabled: true},
                                {type: 'button',  id: 
'insertion_mobile_wizard', img: 'insertion_mobile_wizard', disabled: true},
                                {type: 'button',  id: 'insertcomment', img: 
'insertcomment', disabled: true},
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to