loleaflet/src/control/Control.Toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit fccc7ac3bf27a27e2b77d194408cb7de22baf3db Author: Henry Castro <hcas...@collabora.com> AuthorDate: Tue Nov 5 15:42:55 2019 -0400 Commit: Henry Castro <hcas...@collabora.com> CommitDate: Tue Nov 5 20:46:47 2019 +0100 loleaflet: mobile: add new id command to handle full presentation Some actions do not have UNO commands, they require two step operation like the 'fullscreen' action. Change-Id: I657ffca0356853ced10eb20f7ad072e0ac96751e Reviewed-on: https://gerrit.libreoffice.org/82100 Reviewed-by: Henry Castro <hcas...@collabora.com> Tested-by: Henry Castro <hcas...@collabora.com> diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js index ba4e777aa..44f2659e7 100644 --- a/loleaflet/src/control/Control.Toolbar.js +++ b/loleaflet/src/control/Control.Toolbar.js @@ -204,7 +204,7 @@ function onClick(e, id, item, subItem) { else if (id === 'cancelsearch') { _cancelSearch(); } - else if (id === 'presentation' && map.getDocType() === 'presentation') { + else if ((id === 'presentation' || id === 'fullscreen-presentation') && map.getDocType() === 'presentation') { map.fire('fullscreen'); } else if (id === 'insertannotation') { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits