[LyX/master] Fix comment

Juergen Spitzmueller <[email protected]> Sun, 05 Jul 2026 11:19:11 +0000
Newsgroups gmane.editors.lyx.cvs
Message-ID <[email protected]>
commit 398223dcef6ae7fbc0c9efc856ff3b89cb7522d4
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Jul 5 13:13:52 2026 +0200

    Fix comment
---
 src/insets/Inset.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/insets/Inset.cpp b/src/insets/Inset.cpp
index d9e28f31a5..14f93c9d2b 100644
--- a/src/insets/Inset.cpp
+++ b/src/insets/Inset.cpp
@@ -349,8 +349,8 @@ Color Inset::getModeDependentColor(ColorCode const fgc, ColorCode const bgc) con
 		// Brighten that for workarea display (#13218)
 		res.mergeColor = Color_foreground;
 	else if (darken)
-		// We are in dark mode and have a dark text color.
-		// Brighten that for workarea display (#13218)
+		// We are in dark mode but have a light background and font color.
+		// Darken the font color.
 		res.mergeColor = Color_background;
 	return res;
 }
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs