From 0cf8a265cd0e4b05911a196a6cd8c2be4195df78 Mon Sep 17 00:00:00 2001 From: cxl Date: Sat, 14 Dec 2019 17:28:32 +0000 Subject: [PATCH] RichEdit: Hyperlink color is always ltblue, despite the light/dark mode (as we always have white paper) git-svn-id: svn://ultimatepp.org/upp/trunk@13767 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/RichEdit/Editor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uppsrc/RichEdit/Editor.cpp b/uppsrc/RichEdit/Editor.cpp index e226c9170..1d7b4907f 100644 --- a/uppsrc/RichEdit/Editor.cpp +++ b/uppsrc/RichEdit/Editor.cpp @@ -124,6 +124,8 @@ void RichEdit::Paint(Draw& w) pi.sizetracking = sizetracking; pi.showcodes = showcodes; pi.showlabels = !IsNull(showcodes) && viewborder >= 16; + pi.hyperlink = LtBlue; // because we have white paper even in dark mode + if(spellcheck) pi.spellingchecker = SpellParagraph; if(IsSelection()) {