slideshow/source/engine/slideshowimpl.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
New commits: commit 176f77607ed1001efca402d1807e12b93d914847 Author: Daniel Lohmann <libreofficecontribut...@dldld.de> AuthorDate: Sun Nov 27 11:45:48 2022 +0100 Commit: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> CommitDate: Mon Nov 28 08:46:52 2022 +0100 Do not draw pointer on paused mode screen If the pointer is drawn on the paused mode screen, around the pointer the slide will be visible. Everywhere where the pointer was will the slide is visible. Preventing to draw the pointer in the paused mode will fix this issue. Change-Id: Ica8fedca5710adfc79ed78a30485bd755e3b3b31 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143340 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx index 1cbc167a4c4d..264a4dee8217 100644 --- a/slideshow/source/engine/slideshowimpl.cxx +++ b/slideshow/source/engine/slideshowimpl.cxx @@ -1750,7 +1750,9 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty ) if (!(rProperty.Value >>= visible)) return false; - mpPointerSymbol->setVisible(visible); + if (!mbShowPaused) + mpPointerSymbol->setVisible(visible); + return true; } @@ -1760,7 +1762,9 @@ sal_Bool SlideShowImpl::setProperty( beans::PropertyValue const& rProperty ) if (! (rProperty.Value >>= pos)) return false; - mpPointerSymbol->viewsChanged(pos); + if (!mbShowPaused) + mpPointerSymbol->viewsChanged(pos); + return true; }