Skip to content

Commit

Permalink
Hypertext: Fix hovercolor not working in global tag (#9582)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrollo committed Apr 5, 2020
1 parent ea30b89 commit 0eb3072
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/guiHyperText.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 0eb3072

Please sign in to comment.