From 0e2d9bd7bfaed14f95133c231798ecb753787832 Mon Sep 17 00:00:00 2001 From: hjpalpha <75081997+hjpalpha@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:48:31 +0100 Subject: [PATCH] feat(opponent): support darkmode for faction icons on SG and WC (#5211) feat(opponent): set image title for factions in player displays --- components/opponent/wikis/stormgate/player_display_custom.lua | 2 +- components/opponent/wikis/warcraft/player_display_custom.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/opponent/wikis/stormgate/player_display_custom.lua b/components/opponent/wikis/stormgate/player_display_custom.lua index e34a8910509..d28414bc256 100644 --- a/components/opponent/wikis/stormgate/player_display_custom.lua +++ b/components/opponent/wikis/stormgate/player_display_custom.lua @@ -116,7 +116,7 @@ function CustomPlayerDisplay.InlinePlayer(props) end function CustomPlayerDisplay.Faction(faction) - return Faction.Icon{size = 'small', showLink = false, showTitle = false, faction = faction} + return Faction.Icon{size = 'small', showLink = false, faction = faction} end return CustomPlayerDisplay diff --git a/components/opponent/wikis/warcraft/player_display_custom.lua b/components/opponent/wikis/warcraft/player_display_custom.lua index 0c30258c03b..6a30d59b77c 100644 --- a/components/opponent/wikis/warcraft/player_display_custom.lua +++ b/components/opponent/wikis/warcraft/player_display_custom.lua @@ -102,7 +102,7 @@ function CustomPlayerDisplay.InlinePlayer(props) end function CustomPlayerDisplay.Faction(faction) - return Faction.Icon{size = 'small', showLink = false, showTitle = false, faction = faction} + return Faction.Icon{size = 'small', showLink = false, faction = faction} end return CustomPlayerDisplay