Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Hypertext: Fix hovercolor not working in global tag (#9582)
- Loading branch information
Showing
with
1 addition
and
2 deletions.
-
+1
−2
src/gui/guiHyperText.cpp
|
@@ -107,15 +107,14 @@ ParsedText::ParsedText(const wchar_t *text) |
|
|
m_root_tag.style["underline"] = "false"; |
|
|
m_root_tag.style["halign"] = "left"; |
|
|
m_root_tag.style["color"] = "#EEEEEE"; |
|
|
m_root_tag.style["hovercolor"] = m_root_tag.style["color"]; |
|
|
m_root_tag.style["hovercolor"] = "#FF0000"; |
|
|
|
|
|
m_active_tags.push_front(&m_root_tag); |
|
|
m_style = m_root_tag.style; |
|
|
|
|
|
// Default simple tags definitions |
|
|
StyleList style; |
|
|
|
|
|
style["hovercolor"] = "#FF0000"; |
|
|
style["color"] = "#0000FF"; |
|
|
style["underline"] = "true"; |
|
|
m_elementtags["action"] = style; |
|
|