mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09:00
Update inspectcode version and fix new issues
This commit is contained in:
parent
4379466b1e
commit
bb541f5ae4
@ -1,5 +1,5 @@
|
|||||||
#addin "nuget:?package=CodeFileSanity&version=0.0.33"
|
#addin "nuget:?package=CodeFileSanity&version=0.0.33"
|
||||||
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2019.3.0"
|
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2019.3.2"
|
||||||
#tool "nuget:?package=NVika.MSBuild&version=1.0.1"
|
#tool "nuget:?package=NVika.MSBuild&version=1.0.1"
|
||||||
var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First();
|
var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First();
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ namespace osu.Game.Rulesets.Catch.Objects
|
|||||||
Samples = tickSamples,
|
Samples = tickSamples,
|
||||||
StartTime = t + lastEvent.Value.Time,
|
StartTime = t + lastEvent.Value.Time,
|
||||||
X = X + Path.PositionAt(
|
X = X + Path.PositionAt(
|
||||||
lastEvent.Value.PathProgress + (t / sinceLastTick) * (e.PathProgress - lastEvent.Value.PathProgress)).X / CatchPlayfield.BASE_WIDTH,
|
lastEvent.Value.PathProgress + (t / sinceLastTick) * (e.PathProgress - lastEvent.Value.PathProgress)).X / CatchPlayfield.BASE_WIDTH,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -128,17 +128,17 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
|
|
||||||
const int messages_per_call = 10;
|
const int messages_per_call = 10;
|
||||||
AddRepeatStep("add many messages", () =>
|
AddRepeatStep("add many messages", () =>
|
||||||
|
{
|
||||||
|
for (int i = 0; i < messages_per_call; i++)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < messages_per_call; i++)
|
testChannel.AddNewMessages(new Message(sequence++)
|
||||||
{
|
{
|
||||||
testChannel.AddNewMessages(new Message(sequence++)
|
Sender = longUsernameUser,
|
||||||
{
|
Content = "Many messages! " + Guid.NewGuid(),
|
||||||
Sender = longUsernameUser,
|
Timestamp = DateTimeOffset.Now
|
||||||
Content = "Many messages! " + Guid.NewGuid(),
|
});
|
||||||
Timestamp = DateTimeOffset.Now
|
}
|
||||||
});
|
}, Channel.MAX_HISTORY / messages_per_call + 5);
|
||||||
}
|
|
||||||
}, Channel.MAX_HISTORY / messages_per_call + 5);
|
|
||||||
|
|
||||||
AddAssert("Ensure no adjacent day separators", () =>
|
AddAssert("Ensure no adjacent day separators", () =>
|
||||||
{
|
{
|
||||||
|
@ -301,15 +301,15 @@ namespace osu.Game.Screens.Menu
|
|||||||
case ButtonSystemState.Initial:
|
case ButtonSystemState.Initial:
|
||||||
logoDelayedAction?.Cancel();
|
logoDelayedAction?.Cancel();
|
||||||
logoDelayedAction = Scheduler.AddDelayed(() =>
|
logoDelayedAction = Scheduler.AddDelayed(() =>
|
||||||
{
|
{
|
||||||
logoTrackingContainer.StopTracking();
|
logoTrackingContainer.StopTracking();
|
||||||
|
|
||||||
game?.Toolbar.Hide();
|
game?.Toolbar.Hide();
|
||||||
|
|
||||||
logo.ClearTransforms(targetMember: nameof(Position));
|
logo.ClearTransforms(targetMember: nameof(Position));
|
||||||
logo.MoveTo(new Vector2(0.5f), 800, Easing.OutExpo);
|
logo.MoveTo(new Vector2(0.5f), 800, Easing.OutExpo);
|
||||||
logo.ScaleTo(1, 800, Easing.OutExpo);
|
logo.ScaleTo(1, 800, Easing.OutExpo);
|
||||||
}, buttonArea.Alpha * 150);
|
}, buttonArea.Alpha * 150);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ButtonSystemState.TopLevel:
|
case ButtonSystemState.TopLevel:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user