Fix RCS1132
This commit is contained in:
@@ -1025,6 +1025,9 @@ dotnet_diagnostic.RCS1113.severity = warning
|
|||||||
# Bitwise operation on enum without Flags attribute.
|
# Bitwise operation on enum without Flags attribute.
|
||||||
dotnet_diagnostic.RCS1130.severity = warning
|
dotnet_diagnostic.RCS1130.severity = warning
|
||||||
|
|
||||||
|
# Remove redundant overriding member.
|
||||||
|
dotnet_diagnostic.RCS1132.severity = warning
|
||||||
|
|
||||||
# Remove redundant Dispose/Close call.
|
# Remove redundant Dispose/Close call.
|
||||||
dotnet_diagnostic.RCS1133.severity = warning
|
dotnet_diagnostic.RCS1133.severity = warning
|
||||||
|
|
||||||
|
|||||||
@@ -44,11 +44,6 @@ namespace OpenRA.Mods.Common.Widgets
|
|||||||
VisualHeight = widget.VisualHeight;
|
VisualHeight = widget.VisualHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool TakeKeyboardFocus()
|
|
||||||
{
|
|
||||||
return base.TakeKeyboardFocus();
|
|
||||||
}
|
|
||||||
|
|
||||||
public override bool YieldKeyboardFocus()
|
public override bool YieldKeyboardFocus()
|
||||||
{
|
{
|
||||||
OnLoseFocus();
|
OnLoseFocus();
|
||||||
|
|||||||
Reference in New Issue
Block a user