sc/source/ui/view/gridwin4.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 4af60823276927c2b8481326cb30a246d5c0a141
Author:     Justin Luth <[email protected]>
AuthorDate: Fri Nov 21 12:01:27 2025 -0500
Commit:     Justin Luth <[email protected]>
CommitDate: Sat Nov 22 01:33:00 2025 +0100

    tdf#150150 Revert "draw Note mark before text for correct ZOrder"
    
    This reverts 5.0 commit 2d1abfff0156c17cdaabf27c01e92b5e3f0bbbf4.
    
    The comment marker is not nearly as obstructive
    as it was back in 5.0 days.
    
    Change-Id: Id5596be2ede154e5c9302a23853b5fcaf724c1c7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194343
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <[email protected]>

diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index f8a92b157dc3..79c18b847dae 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -934,10 +934,6 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, 
const ScTableInfo& rTableI
 
     aOutputData.DrawSparklines(*pContentDev);
 
-    // Show Note Mark
-    if ( rOpts.GetOption(sc::ViewOption::NOTES) )
-        aOutputData.DrawNoteMarks(*pContentDev);
-
     if ( rOpts.GetOption(sc::ViewOption::FORMULAS_MARKS) )
         aOutputData.DrawFormulaMarks(*pContentDev);
 
@@ -968,6 +964,10 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, 
const ScTableInfo& rTableI
     // Autofilter- and Pivot-Buttons
     DrawButtons(nX1, nX2, rTableInfo, pContentDev, pLokRTLCtxt.get());         
 // Pixel
 
+    // Show Note Mark
+    if (rOpts.GetOption(sc::ViewOption::NOTES))
+        aOutputData.DrawNoteMarks(*pContentDev);
+
     pContentDev->SetMapMode(MapMode(MapUnit::MapPixel));
 
     aOutputData.DrawClipMarks();

Reply via email to