sd/source/ui/view/drviews5.cxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
New commits: commit b954798dc2a249c8cd12e9b384e0c157ac07f1ea Author: Gökay Şatır <gokaysa...@collabora.com> AuthorDate: Wed Sep 25 14:45:53 2024 +0300 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Wed Jan 15 10:58:57 2025 +0100 cool#7406 Revert "cool#9019: draw/impress: disable the Grid for now" This reverts commit 41130a39ad68310a0136605cbced1f191396c456. Now we are preparing to show & snap grid functionality. Snap grid feature is ready: https://github.com/CollaboraOnline/online/pull/10147 Change-Id: I0ecc395616cc985aadc76f44b1dfe011b624ecc5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180265 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx index 118c8971d917..d240ee6a0c97 100644 --- a/sd/source/ui/view/drviews5.cxx +++ b/sd/source/ui/view/drviews5.cxx @@ -317,15 +317,7 @@ void DrawViewShell::WriteFrameViewData() mpFrameView->SetGridCoarse( mpDrawView->GetGridCoarse() ); mpFrameView->SetGridFine( mpDrawView->GetGridFine() ); mpFrameView->SetSnapGridWidth(mpDrawView->GetSnapGridWidthX(), mpDrawView->GetSnapGridWidthY()); - - // In LOK, Grid isn't implemented, and it appears in the slide thumbnails - // Remove this when Grid is implemented and/or thumbnails are fixed to no longer - // show the grid. - if (comphelper::LibreOfficeKit::isActive()) - mpFrameView->SetGridVisible( false ); - else - mpFrameView->SetGridVisible( mpDrawView->IsGridVisible() ); - + mpFrameView->SetGridVisible( mpDrawView->IsGridVisible() ); mpFrameView->SetGridFront( mpDrawView->IsGridFront() ); mpFrameView->SetSnapAngle( mpDrawView->GetSnapAngle() ); mpFrameView->SetGridSnap( mpDrawView->IsGridSnap() );