[LyX/master] Ignore logical colors
Koji Yokota <[email protected]> Wed, 29 Jul 2026 07:28:35 +0000
| Newsgroups | gmane.editors.lyx.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 22d8837bc173deb04eba63767fef4aab4c513789 Author: Koji Yokota <[email protected]> Date: Wed Jul 29 16:28:31 2026 +0900 Ignore logical colors --- src/mathed/InsetMathHull.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index ecaf6468b4..e1638a3493 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -901,7 +901,7 @@ void InsetMathHull::preparePreview(DocIterator const & pos, endfont += '}'; } ColorCode color = font.fontInfo().color(); - if (color != Color_none) { + if (color != Color_none && color != Color_inherit && color != Color_ignore) { setfont += from_ascii("{\\color{" + lcolor.getLaTeXName(color) + "}"); endfont += '}'; } -- lyx-cvs mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-cvs