diff --git a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj index a35bf7ce2c..c227a4e685 100644 --- a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj +++ b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj @@ -565,7 +565,7 @@ - + diff --git a/OpenRA.Mods.Common/Widgets/Logic/CountryTooltipLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/FactionTooltipLogic.cs similarity index 94% rename from OpenRA.Mods.Common/Widgets/Logic/CountryTooltipLogic.cs rename to OpenRA.Mods.Common/Widgets/Logic/FactionTooltipLogic.cs index 55997828f8..3a02fb9681 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/CountryTooltipLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/FactionTooltipLogic.cs @@ -14,10 +14,10 @@ using OpenRA.Widgets; namespace OpenRA.Mods.Common.Widgets.Logic { - public class CountryTooltipLogic + public class FactionTooltipLogic { [ObjectCreator.UseCtor] - public CountryTooltipLogic(Widget widget, ButtonWidget button) + public FactionTooltipLogic(Widget widget, ButtonWidget button) { var lines = button.GetTooltipText().Replace("\\n", "\n").Split('\n'); diff --git a/mods/cnc/chrome/tooltips.yaml b/mods/cnc/chrome/tooltips.yaml index e14da3f3f6..ad988318ea 100644 --- a/mods/cnc/chrome/tooltips.yaml +++ b/mods/cnc/chrome/tooltips.yaml @@ -190,7 +190,7 @@ Background@CLIENT_TOOLTIP: Font: TinyBold Background@FACTION_DESCRIPTION_TOOLTIP: - Logic: CountryTooltipLogic + Logic: FactionTooltipLogic Background: panel-black Children: Label@HEADER: diff --git a/mods/d2k/chrome/tooltips.yaml b/mods/d2k/chrome/tooltips.yaml index 01c59883d3..2dba2e5846 100644 --- a/mods/d2k/chrome/tooltips.yaml +++ b/mods/d2k/chrome/tooltips.yaml @@ -198,7 +198,7 @@ Background@SUPPORT_POWER_TOOLTIP: VAlign: Top Background@FACTION_DESCRIPTION_TOOLTIP: - Logic: CountryTooltipLogic + Logic: FactionTooltipLogic Background: dialog3 Children: Label@HEADER: diff --git a/mods/ra/chrome/tooltips.yaml b/mods/ra/chrome/tooltips.yaml index 89705556fd..99d483dc78 100644 --- a/mods/ra/chrome/tooltips.yaml +++ b/mods/ra/chrome/tooltips.yaml @@ -198,7 +198,7 @@ Background@SUPPORT_POWER_TOOLTIP: VAlign: Top Background@FACTION_DESCRIPTION_TOOLTIP: - Logic: CountryTooltipLogic + Logic: FactionTooltipLogic Background: dialog4 Children: Label@HEADER: