mirror of https://github.com/ppy/osu
Revert & disable case with two contradicting inspections
Leaving the `false` default value without the suppression triggers `RedundantArgumentDefaultValue`, while removing it triggers `BaseMethodCallWithDefaultParameter`. Disable the former, because a single redundant parameter is less bad than silent breakage if the default value of `propagateChildren` in the base method ever changes.
This commit is contained in:
parent
e1c646b9b2
commit
8e102280b7
|
@ -86,7 +86,8 @@ public override void ClearTransformsAfter(double time, bool propagateChildren =
|
|||
public override void ApplyTransformsAt(double time, bool propagateChildren = false)
|
||||
{
|
||||
// For the same reasons as above w.r.t rewinding, we shouldn't propagate to children here either.
|
||||
base.ApplyTransformsAt(time);
|
||||
// ReSharper disable once RedundantArgumentDefaultValue - removing the "redundant" default value triggers BaseMethodCallWithDefaultParameter
|
||||
base.ApplyTransformsAt(time, false);
|
||||
}
|
||||
|
||||
private bool tracking;
|
||||
|
|
Loading…
Reference in New Issue