sc/source/ui/view/gridwin.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 7958f5b111954632ca2792a0c3d18d79de5397c6 Author: Rafael Lima <rafael.palma.l...@gmail.com> AuthorDate: Wed Jul 10 19:29:52 2024 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Sun Jul 14 23:56:32 2024 +0200 tdf#161785 Fix order overlays are repainted Prior to this patch, the selection overlay was painted above the cursor when scrolling/resizing the window. This patch reorders it so that the selection overlay is always below the cursor. Change-Id: I5a9a66eeb6285b4a9b8954a44189ddcb6039d155 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170299 Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org> Tested-by: Jenkins Tested-by: Heiko Tietze <heiko.tie...@documentfoundation.org> (cherry picked from commit 2f113fe5b2aeb2b9ca7866d88c31c0cc09889e2a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170359 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index b1f3a3168792..1770a419f550 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -6239,11 +6239,11 @@ void ScGridWindow::CursorChanged() void ScGridWindow::ImpCreateOverlayObjects() { - UpdateCursorOverlay(); - UpdateCopySourceOverlay(); - UpdateSelectionOverlay(); UpdateHighlightOverlay(); + UpdateSelectionOverlay(); UpdateAutoFillOverlay(); + UpdateCursorOverlay(); + UpdateCopySourceOverlay(); UpdateDragRectOverlay(); UpdateHeaderOverlay(); UpdateShrinkOverlay();