[LyX/master] Fix comment
Juergen Spitzmueller
spitz at lyx.org
Sun Jul 5 11:19:11 UTC 2026
commit 398223dcef6ae7fbc0c9efc856ff3b89cb7522d4
Author: Juergen Spitzmueller <spitz at lyx.org>
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;
}
More information about the lyx-cvs
mailing list