Skip to content
Permalink
Browse files

Hypertext: Fix hovercolor not working in global tag (#9582)

  • Loading branch information
pyrollo committed Apr 5, 2020
1 parent ea30b89 commit 0eb3072819e500ea6cc70c7031079472ec2ea569
Showing with 1 addition and 2 deletions.
  1. +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;

0 comments on commit 0eb3072

Please sign in to comment.
You can’t perform that action at this time.