[Libreoffice-commits] online.git: loleaflet/src
Henry Castro (via logerrit)
logerrit at kemper.freedesktop.org
Tue Nov 5 19:47:08 UTC 2019
loleaflet/src/control/Control.Toolbar.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fccc7ac3bf27a27e2b77d194408cb7de22baf3db
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Tue Nov 5 15:42:55 2019 -0400
Commit: Henry Castro <hcastro at 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 <hcastro at collabora.com>
Tested-by: Henry Castro <hcastro at 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') {
More information about the Libreoffice-commits
mailing list