sc/source/ui/view/gridwin.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 2f113fe5b2aeb2b9ca7866d88c31c0cc09889e2a Author: Rafael Lima <rafael.palma.l...@gmail.com> AuthorDate: Wed Jul 10 19:29:52 2024 +0200 Commit: Rafael Lima <rafael.palma.l...@gmail.com> CommitDate: Fri Jul 12 14:47:42 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> diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 0c38afb4f9f8..c83c320e7f9f 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -6240,11 +6240,11 @@ void ScGridWindow::CursorChanged() void ScGridWindow::ImpCreateOverlayObjects() { - UpdateCursorOverlay(); - UpdateCopySourceOverlay(); - UpdateSelectionOverlay(); UpdateHighlightOverlay(); + UpdateSelectionOverlay(); UpdateAutoFillOverlay(); + UpdateCursorOverlay(); + UpdateCopySourceOverlay(); UpdateDragRectOverlay(); UpdateHeaderOverlay(); UpdateShrinkOverlay();