Skip to content

Commit

Permalink
feat(opponent): support darkmode for faction icons on SG and WC (#5211)
Browse files Browse the repository at this point in the history
feat(opponent): set image title for factions in player displays
hjpalpha authored Dec 16, 2024
1 parent 124d37b commit 0e2d9bd
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0e2d9bd

Please sign in to comment.