diff --git a/osu.Desktop/Security/ElevatedPrivilegesChecker.cs b/osu.Desktop/Security/ElevatedPrivilegesChecker.cs
index 01458b4c37..62ea3e0399 100644
--- a/osu.Desktop/Security/ElevatedPrivilegesChecker.cs
+++ b/osu.Desktop/Security/ElevatedPrivilegesChecker.cs
@@ -76,7 +76,7 @@ namespace osu.Desktop.Security
private void load(OsuColour colours, NotificationOverlay notificationOverlay)
{
Icon = FontAwesome.Solid.ShieldAlt;
- IconBackgound.Colour = colours.YellowDark;
+ IconBackground.Colour = colours.YellowDark;
}
}
}
diff --git a/osu.Game.Rulesets.Catch/Skinning/Default/DefaultHitExplosion.cs b/osu.Game.Rulesets.Catch/Skinning/Default/DefaultHitExplosion.cs
index e1fad564a3..905eb059e3 100644
--- a/osu.Game.Rulesets.Catch/Skinning/Default/DefaultHitExplosion.cs
+++ b/osu.Game.Rulesets.Catch/Skinning/Default/DefaultHitExplosion.cs
@@ -90,9 +90,9 @@ namespace osu.Game.Rulesets.Catch.Skinning.Default
.ResizeTo(largeFaint.Size * new Vector2(5, 1), duration, Easing.OutQuint)
.FadeOut(duration * 2);
- const float angle_variangle = 15; // should be less than 45
- directionalGlow1.Rotation = StatelessRNG.NextSingle(-angle_variangle, angle_variangle, randomSeed, 4);
- directionalGlow2.Rotation = StatelessRNG.NextSingle(-angle_variangle, angle_variangle, randomSeed, 5);
+ const float angle_variable = 15; // should be less than 45
+ directionalGlow1.Rotation = StatelessRNG.NextSingle(-angle_variable, angle_variable, randomSeed, 4);
+ directionalGlow2.Rotation = StatelessRNG.NextSingle(-angle_variable, angle_variable, randomSeed, 5);
this.FadeInFromZero(50).Then().FadeOut(duration, Easing.Out);
}
diff --git a/osu.Game.Rulesets.Mania/UI/DefaultHitExplosion.cs b/osu.Game.Rulesets.Mania/UI/DefaultHitExplosion.cs
index 69b81d6d5c..99dcce2da4 100644
--- a/osu.Game.Rulesets.Mania/UI/DefaultHitExplosion.cs
+++ b/osu.Game.Rulesets.Mania/UI/DefaultHitExplosion.cs
@@ -42,7 +42,7 @@ namespace osu.Game.Rulesets.Mania.UI
[BackgroundDependencyLoader]
private void load(IScrollingInfo scrollingInfo)
{
- const float angle_variangle = 15; // should be less than 45
+ const float angle_variable = 15; // should be less than 45
const float roundness = 80;
const float initial_height = 10;
@@ -90,7 +90,7 @@ namespace osu.Game.Rulesets.Mania.UI
Masking = true,
Size = new Vector2(0.01f, initial_height),
Blending = BlendingParameters.Additive,
- Rotation = RNG.NextSingle(-angle_variangle, angle_variangle),
+ Rotation = RNG.NextSingle(-angle_variable, angle_variable),
EdgeEffect = new EdgeEffectParameters
{
Type = EdgeEffectType.Glow,
@@ -107,7 +107,7 @@ namespace osu.Game.Rulesets.Mania.UI
Masking = true,
Size = new Vector2(0.01f, initial_height),
Blending = BlendingParameters.Additive,
- Rotation = RNG.NextSingle(-angle_variangle, angle_variangle),
+ Rotation = RNG.NextSingle(-angle_variable, angle_variable),
EdgeEffect = new EdgeEffectParameters
{
Type = EdgeEffectType.Glow,
diff --git a/osu.Game.Tests/Mods/ModSettingsEqualityComparison.cs b/osu.Game.Tests/Mods/ModSettingsEqualityComparison.cs
index ce6b3a68a5..cd6879cf01 100644
--- a/osu.Game.Tests/Mods/ModSettingsEqualityComparison.cs
+++ b/osu.Game.Tests/Mods/ModSettingsEqualityComparison.cs
@@ -34,20 +34,20 @@ namespace osu.Game.Tests.Mods
var mod3 = new OsuModDoubleTime { SpeedChange = { Value = 1.26 } };
var doubleConvertedMod1 = new APIMod(mod1).ToMod(ruleset);
- var doulbeConvertedMod2 = new APIMod(mod2).ToMod(ruleset);
- var doulbeConvertedMod3 = new APIMod(mod3).ToMod(ruleset);
+ var doubleConvertedMod2 = new APIMod(mod2).ToMod(ruleset);
+ var doubleConvertedMod3 = new APIMod(mod3).ToMod(ruleset);
Assert.That(mod1, Is.Not.EqualTo(mod2));
- Assert.That(doubleConvertedMod1, Is.Not.EqualTo(doulbeConvertedMod2));
+ Assert.That(doubleConvertedMod1, Is.Not.EqualTo(doubleConvertedMod2));
Assert.That(mod2, Is.EqualTo(mod2));
- Assert.That(doulbeConvertedMod2, Is.EqualTo(doulbeConvertedMod2));
+ Assert.That(doubleConvertedMod2, Is.EqualTo(doubleConvertedMod2));
Assert.That(mod2, Is.EqualTo(mod3));
- Assert.That(doulbeConvertedMod2, Is.EqualTo(doulbeConvertedMod3));
+ Assert.That(doubleConvertedMod2, Is.EqualTo(doubleConvertedMod3));
Assert.That(mod3, Is.EqualTo(mod2));
- Assert.That(doulbeConvertedMod3, Is.EqualTo(doulbeConvertedMod2));
+ Assert.That(doubleConvertedMod3, Is.EqualTo(doubleConvertedMod2));
}
}
}
diff --git a/osu.Game.Tests/Online/TestMultiplayerMessagePackSerialization.cs b/osu.Game.Tests/Online/TestMultiplayerMessagePackSerialization.cs
index 1027b722d1..81475f2fbe 100644
--- a/osu.Game.Tests/Online/TestMultiplayerMessagePackSerialization.cs
+++ b/osu.Game.Tests/Online/TestMultiplayerMessagePackSerialization.cs
@@ -39,7 +39,7 @@ namespace osu.Game.Tests.Online
}
[Test]
- public void TestSerialiseUnionFailsWithSingalR()
+ public void TestSerialiseUnionFailsWithSignalR()
{
var state = new TeamVersusUserState();
diff --git a/osu.Game.Tests/Visual/Online/TestSceneBeatmapAvailability.cs b/osu.Game.Tests/Visual/Online/TestSceneBeatmapAvailability.cs
index 176e0592ef..f94ae24a14 100644
--- a/osu.Game.Tests/Visual/Online/TestSceneBeatmapAvailability.cs
+++ b/osu.Game.Tests/Visual/Online/TestSceneBeatmapAvailability.cs
@@ -30,7 +30,7 @@ namespace osu.Game.Tests.Visual.Online
},
});
- visiblityAssert(true);
+ visibilityAssert(true);
}
[Test]
@@ -44,7 +44,7 @@ namespace osu.Game.Tests.Visual.Online
},
});
- visiblityAssert(true);
+ visibilityAssert(true);
}
[Test]
@@ -59,7 +59,7 @@ namespace osu.Game.Tests.Visual.Online
},
});
- visiblityAssert(true);
+ visibilityAssert(true);
}
[Test]
@@ -73,10 +73,10 @@ namespace osu.Game.Tests.Visual.Online
},
});
- visiblityAssert(false);
+ visibilityAssert(false);
}
- private void visiblityAssert(bool shown)
+ private void visibilityAssert(bool shown)
{
AddAssert($"is container {(shown ? "visible" : "hidden")}", () => container.Alpha == (shown ? 1 : 0));
}
diff --git a/osu.Game.Tests/Visual/Playlists/TestScenePlaylistsMatchSettingsOverlay.cs b/osu.Game.Tests/Visual/Playlists/TestScenePlaylistsMatchSettingsOverlay.cs
index 278379c692..ca3387392a 100644
--- a/osu.Game.Tests/Visual/Playlists/TestScenePlaylistsMatchSettingsOverlay.cs
+++ b/osu.Game.Tests/Visual/Playlists/TestScenePlaylistsMatchSettingsOverlay.cs
@@ -87,7 +87,7 @@ namespace osu.Game.Tests.Visual.Playlists
{
const string not_found_prefix = "beatmaps not found:";
- string errorMesage = null;
+ string errorMessage = null;
AddStep("setup", () =>
{
@@ -96,9 +96,9 @@ namespace osu.Game.Tests.Visual.Playlists
SelectedRoom.Value.Name.Value = "Test Room";
SelectedRoom.Value.Playlist.Add(new PlaylistItem { Beatmap = { Value = beatmap } });
- errorMesage = $"{not_found_prefix} {beatmap.OnlineID}";
+ errorMessage = $"{not_found_prefix} {beatmap.OnlineID}";
- RoomManager.CreateRequested = _ => errorMesage;
+ RoomManager.CreateRequested = _ => errorMessage;
});
AddAssert("error not displayed", () => !settings.ErrorText.IsPresent);
@@ -107,7 +107,7 @@ namespace osu.Game.Tests.Visual.Playlists
AddStep("create room", () => settings.ApplyButton.Action.Invoke());
AddAssert("error displayed", () => settings.ErrorText.IsPresent);
- AddAssert("error has custom text", () => settings.ErrorText.Text != errorMesage);
+ AddAssert("error has custom text", () => settings.ErrorText.Text != errorMessage);
AddAssert("playlist item marked invalid", () => !SelectedRoom.Value.Playlist[0].Valid.Value);
}
diff --git a/osu.Game/Online/API/APIException.cs b/osu.Game/Online/API/APIException.cs
index 97786bced9..54d68d8f0d 100644
--- a/osu.Game/Online/API/APIException.cs
+++ b/osu.Game/Online/API/APIException.cs
@@ -7,8 +7,8 @@ namespace osu.Game.Online.API
{
public class APIException : InvalidOperationException
{
- public APIException(string messsage, Exception innerException)
- : base(messsage, innerException)
+ public APIException(string message, Exception innerException)
+ : base(message, innerException)
{
}
}
diff --git a/osu.Game/Online/Chat/ChannelManager.cs b/osu.Game/Online/Chat/ChannelManager.cs
index edaf135e93..cc41511764 100644
--- a/osu.Game/Online/Chat/ChannelManager.cs
+++ b/osu.Game/Online/Chat/ChannelManager.cs
@@ -335,7 +335,7 @@ namespace osu.Game.Online.Chat
/// right now it caps out at 50 messages and therefore only returns one channel's worth of content.
///
/// The channel
- private void fetchInitalMessages(Channel channel)
+ private void fetchInitialMessages(Channel channel)
{
if (channel.Id <= 0 || channel.MessagesLoaded) return;
@@ -441,7 +441,7 @@ namespace osu.Game.Online.Chat
else
{
if (fetchInitialMessages)
- fetchInitalMessages(channel);
+ this.fetchInitialMessages(channel);
}
CurrentChannel.Value ??= channel;
diff --git a/osu.Game/Online/Chat/MessageNotifier.cs b/osu.Game/Online/Chat/MessageNotifier.cs
index a11af7b305..2c99e9f9b9 100644
--- a/osu.Game/Online/Chat/MessageNotifier.cs
+++ b/osu.Game/Online/Chat/MessageNotifier.cs
@@ -170,7 +170,7 @@ namespace osu.Game.Online.Chat
[BackgroundDependencyLoader]
private void load(OsuColour colours, ChatOverlay chatOverlay, NotificationOverlay notificationOverlay, ChannelManager channelManager)
{
- IconBackgound.Colour = colours.PurpleDark;
+ IconBackground.Colour = colours.PurpleDark;
Activated = delegate
{
diff --git a/osu.Game/Overlays/Comments/DrawableComment.cs b/osu.Game/Overlays/Comments/DrawableComment.cs
index 43f4177bd0..3286b6c5c0 100644
--- a/osu.Game/Overlays/Comments/DrawableComment.cs
+++ b/osu.Game/Overlays/Comments/DrawableComment.cs
@@ -362,15 +362,15 @@ namespace osu.Game.Overlays.Comments
private void updateButtonsState()
{
- int loadedReplesCount = loadedReplies.Count;
- bool hasUnloadedReplies = loadedReplesCount != Comment.RepliesCount;
+ int loadedRepliesCount = loadedReplies.Count;
+ bool hasUnloadedReplies = loadedRepliesCount != Comment.RepliesCount;
- loadRepliesButton.FadeTo(hasUnloadedReplies && loadedReplesCount == 0 ? 1 : 0);
- showMoreButton.FadeTo(hasUnloadedReplies && loadedReplesCount > 0 ? 1 : 0);
- showRepliesButton.FadeTo(loadedReplesCount != 0 ? 1 : 0);
+ loadRepliesButton.FadeTo(hasUnloadedReplies && loadedRepliesCount == 0 ? 1 : 0);
+ showMoreButton.FadeTo(hasUnloadedReplies && loadedRepliesCount > 0 ? 1 : 0);
+ showRepliesButton.FadeTo(loadedRepliesCount != 0 ? 1 : 0);
if (Comment.IsTopLevel)
- chevronButton.FadeTo(loadedReplesCount != 0 ? 1 : 0);
+ chevronButton.FadeTo(loadedRepliesCount != 0 ? 1 : 0);
showMoreButton.IsLoading = loadRepliesButton.IsLoading = false;
}
diff --git a/osu.Game/Overlays/Notifications/ProgressCompletionNotification.cs b/osu.Game/Overlays/Notifications/ProgressCompletionNotification.cs
index feffb4fa66..754f9bd600 100644
--- a/osu.Game/Overlays/Notifications/ProgressCompletionNotification.cs
+++ b/osu.Game/Overlays/Notifications/ProgressCompletionNotification.cs
@@ -18,7 +18,7 @@ namespace osu.Game.Overlays.Notifications
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
- IconBackgound.Colour = ColourInfo.GradientVertical(colours.GreenDark, colours.GreenLight);
+ IconBackground.Colour = ColourInfo.GradientVertical(colours.GreenDark, colours.GreenLight);
}
}
}
diff --git a/osu.Game/Overlays/Notifications/SimpleNotification.cs b/osu.Game/Overlays/Notifications/SimpleNotification.cs
index 17ec12a4ca..c32e40ffc8 100644
--- a/osu.Game/Overlays/Notifications/SimpleNotification.cs
+++ b/osu.Game/Overlays/Notifications/SimpleNotification.cs
@@ -43,13 +43,13 @@ namespace osu.Game.Overlays.Notifications
private readonly TextFlowContainer textDrawable;
private readonly SpriteIcon iconDrawable;
- protected Box IconBackgound;
+ protected Box IconBackground;
public SimpleNotification()
{
IconContent.AddRange(new Drawable[]
{
- IconBackgound = new Box
+ IconBackground = new Box
{
RelativeSizeAxes = Axes.Both,
Colour = ColourInfo.GradientVertical(OsuColour.Gray(0.2f), OsuColour.Gray(0.6f))
diff --git a/osu.Game/Screens/Edit/Compose/Components/SelectionBoxButton.cs b/osu.Game/Screens/Edit/Compose/Components/SelectionBoxButton.cs
index 3ac40fda0f..346bb2b508 100644
--- a/osu.Game/Screens/Edit/Compose/Components/SelectionBoxButton.cs
+++ b/osu.Game/Screens/Edit/Compose/Components/SelectionBoxButton.cs
@@ -49,7 +49,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
{
TriggerOperationStarted();
Action?.Invoke();
- TriggerOperatoinEnded();
+ TriggerOperationEnded();
return true;
}
diff --git a/osu.Game/Screens/Edit/Compose/Components/SelectionBoxControl.cs b/osu.Game/Screens/Edit/Compose/Components/SelectionBoxControl.cs
index 40d367bb80..8f22e67922 100644
--- a/osu.Game/Screens/Edit/Compose/Components/SelectionBoxControl.cs
+++ b/osu.Game/Screens/Edit/Compose/Components/SelectionBoxControl.cs
@@ -92,6 +92,6 @@ namespace osu.Game.Screens.Edit.Compose.Components
protected void TriggerOperationStarted() => OperationStarted?.Invoke();
- protected void TriggerOperatoinEnded() => OperationEnded?.Invoke();
+ protected void TriggerOperationEnded() => OperationEnded?.Invoke();
}
}
diff --git a/osu.Game/Screens/Edit/Compose/Components/SelectionBoxDragHandle.cs b/osu.Game/Screens/Edit/Compose/Components/SelectionBoxDragHandle.cs
index 65a95951cf..cac907ca5e 100644
--- a/osu.Game/Screens/Edit/Compose/Components/SelectionBoxDragHandle.cs
+++ b/osu.Game/Screens/Edit/Compose/Components/SelectionBoxDragHandle.cs
@@ -24,7 +24,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
protected override void OnDragEnd(DragEndEvent e)
{
- TriggerOperatoinEnded();
+ TriggerOperationEnded();
UpdateHoverState();
base.OnDragEnd(e);
diff --git a/osu.Game/Screens/Menu/LogoVisualisation.cs b/osu.Game/Screens/Menu/LogoVisualisation.cs
index 01b2a98c6e..4acd73bfa0 100644
--- a/osu.Game/Screens/Menu/LogoVisualisation.cs
+++ b/osu.Game/Screens/Menu/LogoVisualisation.cs
@@ -53,7 +53,7 @@ namespace osu.Game.Screens.Menu
///
/// How much should each bar go down each millisecond (based on a full bar).
///
- private const float decay_per_milisecond = 0.0024f;
+ private const float decay_per_millisecond = 0.0024f;
///
/// Number of milliseconds between each amplitude update.
@@ -136,7 +136,7 @@ namespace osu.Game.Screens.Menu
{
base.Update();
- float decayFactor = (float)Time.Elapsed * decay_per_milisecond;
+ float decayFactor = (float)Time.Elapsed * decay_per_millisecond;
for (int i = 0; i < bars_per_visualiser; i++)
{
diff --git a/osu.Game/Screens/Play/PlayerLoader.cs b/osu.Game/Screens/Play/PlayerLoader.cs
index 60843acb4f..6009c85583 100644
--- a/osu.Game/Screens/Play/PlayerLoader.cs
+++ b/osu.Game/Screens/Play/PlayerLoader.cs
@@ -496,7 +496,7 @@ namespace osu.Game.Screens.Play
private void load(OsuColour colours, AudioManager audioManager, NotificationOverlay notificationOverlay, VolumeOverlay volumeOverlay)
{
Icon = FontAwesome.Solid.VolumeMute;
- IconBackgound.Colour = colours.RedDark;
+ IconBackground.Colour = colours.RedDark;
Activated = delegate
{
@@ -548,7 +548,7 @@ namespace osu.Game.Screens.Play
private void load(OsuColour colours, NotificationOverlay notificationOverlay)
{
Icon = FontAwesome.Solid.BatteryQuarter;
- IconBackgound.Colour = colours.RedDark;
+ IconBackground.Colour = colours.RedDark;
Activated = delegate
{
diff --git a/osu.Game/Updater/UpdateManager.cs b/osu.Game/Updater/UpdateManager.cs
index 28b828804c..9b9f354d23 100644
--- a/osu.Game/Updater/UpdateManager.cs
+++ b/osu.Game/Updater/UpdateManager.cs
@@ -97,7 +97,7 @@ namespace osu.Game.Updater
private void load(OsuColour colours, ChangelogOverlay changelog, NotificationOverlay notificationOverlay)
{
Icon = FontAwesome.Solid.CheckSquare;
- IconBackgound.Colour = colours.BlueDark;
+ IconBackground.Colour = colours.BlueDark;
Activated = delegate
{