loleaflet/src/control/Control.PartsPreview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f6c24f90033678fb24358d460111332230d1a6c5 Author: gokaysatir <gokaysa...@collabora.com> AuthorDate: Fri Aug 28 21:36:35 2020 +0300 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Wed Sep 9 14:24:23 2020 +0200 loleaflet: Impress slide scroll improved. On tablet, slide preview scroll section is always on the left column. So when user switches to layout/portrait views, scroll item's classes should remain same. Change-Id: I84349cd48b317578d9bb2687c3a66aa788f57780 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101563 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Andras Timar <andras.ti...@collabora.com> diff --git a/loleaflet/src/control/Control.PartsPreview.js b/loleaflet/src/control/Control.PartsPreview.js index 8694b8bf6..dfc37beaf 100644 --- a/loleaflet/src/control/Control.PartsPreview.js +++ b/loleaflet/src/control/Control.PartsPreview.js @@ -179,7 +179,7 @@ L.Control.PartsPreview = L.Control.extend({ // re-create scrollbar with new direction var direction = this._direction; - this._direction = !window.mode.isDesktop() && L.DomUtil.isPortrait() ? 'x' : 'y'; + this._direction = !window.mode.isDesktop() && !window.mode.isTablet() && L.DomUtil.isPortrait() ? 'x' : 'y'; if (direction !== this._direction) { $(this._partsPreviewCont).mCustomScrollbar('destroy'); this.createScrollbar(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits