From f3aff250a67a5655a673e7a9e11ee014e8f68562 Mon Sep 17 00:00:00 2001 From: Nora Date: Sun, 28 Jul 2024 21:46:31 -0400 Subject: [PATCH] remove `HasFlagFast` --- .../Objects/Drawables/DrawableSlider.Graphics.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game.Rulesets.Tau/Objects/Drawables/DrawableSlider.Graphics.cs b/osu.Game.Rulesets.Tau/Objects/Drawables/DrawableSlider.Graphics.cs index c23b20f8..711bf4ff 100644 --- a/osu.Game.Rulesets.Tau/Objects/Drawables/DrawableSlider.Graphics.cs +++ b/osu.Game.Rulesets.Tau/Objects/Drawables/DrawableSlider.Graphics.cs @@ -127,7 +127,7 @@ public override float Width { get { - if (AutoSizeAxes.HasFlagFast(Axes.X)) + if (AutoSizeAxes.HasFlag(Axes.X)) return base.Width = vertexBounds.Width; return base.Width; @@ -145,7 +145,7 @@ public override float Height { get { - if (AutoSizeAxes.HasFlagFast(Axes.Y)) + if (AutoSizeAxes.HasFlag(Axes.Y)) return base.Height = vertexBounds.Height; return base.Height;