Skip to content

Commit 0eb3072

Browse files
authoredApr 5, 2020
Hypertext: Fix hovercolor not working in global tag (#9582)
1 parent ea30b89 commit 0eb3072

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/gui/guiHyperText.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,14 @@ ParsedText::ParsedText(const wchar_t *text)
107107
m_root_tag.style["underline"] = "false";
108108
m_root_tag.style["halign"] = "left";
109109
m_root_tag.style["color"] = "#EEEEEE";
110-
m_root_tag.style["hovercolor"] = m_root_tag.style["color"];
110+
m_root_tag.style["hovercolor"] = "#FF0000";
111111

112112
m_active_tags.push_front(&m_root_tag);
113113
m_style = m_root_tag.style;
114114

115115
// Default simple tags definitions
116116
StyleList style;
117117

118-
style["hovercolor"] = "#FF0000";
119118
style["color"] = "#0000FF";
120119
style["underline"] = "true";
121120
m_elementtags["action"] = style;

0 commit comments

Comments
 (0)
Please sign in to comment.