Fix RCS1132

This commit is contained in:
RoosterDragon
2023-03-18 12:58:54 +00:00
committed by Gustas
parent 0bb2bc651b
commit 11b59b0a65
2 changed files with 3 additions and 5 deletions

View File

@@ -1025,6 +1025,9 @@ dotnet_diagnostic.RCS1113.severity = warning
# Bitwise operation on enum without Flags attribute.
dotnet_diagnostic.RCS1130.severity = warning
# Remove redundant overriding member.
dotnet_diagnostic.RCS1132.severity = warning
# Remove redundant Dispose/Close call.
dotnet_diagnostic.RCS1133.severity = warning

View File

@@ -44,11 +44,6 @@ namespace OpenRA.Mods.Common.Widgets
VisualHeight = widget.VisualHeight;
}
public override bool TakeKeyboardFocus()
{
return base.TakeKeyboardFocus();
}
public override bool YieldKeyboardFocus()
{
OnLoseFocus();