sd/source/ui/view/drviews5.cxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
New commits: commit f1d8f8fcdd6bbf9128e6e67770b2362efdc9e506 Author: Gökay Şatır <gokaysa...@collabora.com> AuthorDate: Wed Sep 25 14:45:53 2024 +0300 Commit: Gökay ŞATIR <gokaysa...@collabora.com> CommitDate: Sat Oct 12 08:46:10 2024 +0200 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/+/174432 Reviewed-by: Gökay ŞATIR <gokaysa...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx index 7c6315926c77..8a69b13bf472 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() );