From 569d637cdb73697e9a00874fad56b10224b00148 Mon Sep 17 00:00:00 2001 From: Flutterish Date: Sat, 4 May 2024 09:17:05 +0200 Subject: [PATCH] bump osu version --- Hitokori/Objects/Drawables/Trails/CircularConnector.cs | 2 +- Hitokori/UI/ColorPickerControl.HuePicker.cs | 2 +- Hitokori/osu.Game.Rulesets.Hitokori.csproj | 4 ++-- Tests/VisualTestRunner.cs | 2 +- Tests/osu.Game.Rulesets.Hitokori.Tests.csproj | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Hitokori/Objects/Drawables/Trails/CircularConnector.cs b/Hitokori/Objects/Drawables/Trails/CircularConnector.cs index 4398bf5..6d0ce9b 100644 --- a/Hitokori/Objects/Drawables/Trails/CircularConnector.cs +++ b/Hitokori/Objects/Drawables/Trails/CircularConnector.cs @@ -56,7 +56,7 @@ protected override void render () { arc.InnerRadius = TrailRadius * 2 / radius; arc.Size = new Vector2( radius * 2 ); - arc.FillTo( ( progress.B - progress.A ) / Math.PI / 2 * angle ); + arc.ProgressTo( ( progress.B - progress.A ) / Math.PI / 2 * angle ); arc.Rotation = ( ( Around - From ).AngleFromXAxis() + ( angle >= 0 ? progress.A : progress.B ) * angle ).ToDegreesF() - 90; } diff --git a/Hitokori/UI/ColorPickerControl.HuePicker.cs b/Hitokori/UI/ColorPickerControl.HuePicker.cs index 0978d1b..7e813c1 100644 --- a/Hitokori/UI/ColorPickerControl.HuePicker.cs +++ b/Hitokori/UI/ColorPickerControl.HuePicker.cs @@ -136,7 +136,7 @@ private class HueNotch : CircularProgress { protected override void LoadComplete () { IsContinuous.BindValueChanged( v => { - this.FillTo( fill / 360, 100, Easing.Out ); + this.ProgressTo( fill / 360, 100, Easing.Out ); this.ResizeTo( outerRadius, 100, Easing.Out ); this.TransformTo( nameof( InnerRadius ), 1 - (innerRadius / outerRadius), 100, Easing.Out ); }, true ); diff --git a/Hitokori/osu.Game.Rulesets.Hitokori.csproj b/Hitokori/osu.Game.Rulesets.Hitokori.csproj index 639738b..94478ad 100644 --- a/Hitokori/osu.Game.Rulesets.Hitokori.csproj +++ b/Hitokori/osu.Game.Rulesets.Hitokori.csproj @@ -1,12 +1,12 @@ - net6.0 + net8.0 preview - + diff --git a/Tests/VisualTestRunner.cs b/Tests/VisualTestRunner.cs index 3009911..761413c 100644 --- a/Tests/VisualTestRunner.cs +++ b/Tests/VisualTestRunner.cs @@ -10,7 +10,7 @@ namespace osu.Game.Rulesets.Hitokori.Tests { public static class VisualTestRunner { [STAThread] public static int Main ( string[] args ) { - using ( DesktopGameHost host = Host.GetSuitableDesktopHost( @"osu", new() { BindIPC = true } ) ) { + using ( DesktopGameHost host = Host.GetSuitableDesktopHost( @"osu" ) ) { host.Run( new OsuTestBrowser() ); return 0; } diff --git a/Tests/osu.Game.Rulesets.Hitokori.Tests.csproj b/Tests/osu.Game.Rulesets.Hitokori.Tests.csproj index c31906d..56ceaf0 100644 --- a/Tests/osu.Game.Rulesets.Hitokori.Tests.csproj +++ b/Tests/osu.Game.Rulesets.Hitokori.Tests.csproj @@ -10,8 +10,8 @@ - - + + @@ -20,7 +20,7 @@ WinExe - net6.0 + net8.0 osu.Game.Rulesets.Hitokori.Tests \ No newline at end of file