mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix most warnings.
This commit is contained in:
@ -19,8 +19,8 @@ namespace osu.Game.Screens
|
||||
return other?.GetType() == GetType();
|
||||
}
|
||||
|
||||
const float transition_length = 500;
|
||||
const float x_movement_amount = 50;
|
||||
private const float transition_length = 500;
|
||||
private const float x_movement_amount = 50;
|
||||
|
||||
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
||||
{
|
||||
@ -28,7 +28,7 @@ namespace osu.Game.Screens
|
||||
return false;
|
||||
}
|
||||
|
||||
Framework.Game game;
|
||||
private Framework.Game game;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(Framework.Game game)
|
||||
@ -58,7 +58,7 @@ namespace osu.Game.Screens
|
||||
protected override void Update()
|
||||
{
|
||||
base.Update();
|
||||
Content.Scale = new Vector2(1 + (x_movement_amount / DrawSize.X) * 2);
|
||||
Content.Scale = new Vector2(1 + x_movement_amount / DrawSize.X * 2);
|
||||
}
|
||||
|
||||
protected override void OnEntering(Screen last)
|
||||
|
Reference in New Issue
Block a user