From 96a6e30a212330c9c9d93bab8fb4e0d47e9f93e5 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 15 Dec 2016 22:50:23 -0500 Subject: [PATCH] Drop complicated type constraints --- osu.Game/Overlays/Options/SliderOption.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/osu.Game/Overlays/Options/SliderOption.cs b/osu.Game/Overlays/Options/SliderOption.cs index e20bc86c07..bdca93b341 100644 --- a/osu.Game/Overlays/Options/SliderOption.cs +++ b/osu.Game/Overlays/Options/SliderOption.cs @@ -19,8 +19,7 @@ using osu.Framework.Input; namespace osu.Game.Overlays.Options { - public class SliderOption : FlowContainer - where T : struct, IComparable, IFormattable, IConvertible, IComparable, IEquatable + public class SliderOption : FlowContainer where T : struct { private SliderBar slider; private SpriteText text; @@ -57,8 +56,7 @@ namespace osu.Game.Overlays.Options }; } - private class OsuSliderBar : SliderBar - where U : struct, IComparable, IFormattable, IConvertible, IComparable, IEquatable + private class OsuSliderBar : SliderBar where U : struct { private AudioSample sample; private double lastSample;