1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 06:47:25 +08:00

Merge remote-tracking branch 'refs/remotes/ppy/master' into user_profile_modes

This commit is contained in:
EVAST9919 2019-06-04 17:52:26 +03:00
commit c1b04746f8
3 changed files with 4 additions and 3 deletions

1
.github/FUNDING.yml vendored Normal file
View File

@ -0,0 +1 @@
custom: https://osu.ppy.sh/home/support

View File

@ -41,7 +41,7 @@ namespace osu.Game.Tests.Visual.UserInterface
TestUpdateableBeatmapBackgroundSprite background = null;
AddStep("load null beatmap", () => Child = background = new TestUpdateableBeatmapBackgroundSprite { RelativeSizeAxes = Axes.Both });
AddAssert("no content", () => !background.ContentLoaded);
AddUntilStep("content loaded", () => background.ContentLoaded);
}
[Test]

View File

@ -17,11 +17,11 @@ namespace osu.Game.Graphics.UserInterface
/// <summary>
/// A button with added default sound effects.
/// </summary>
public class OsuButton : Button
public abstract class OsuButton : Button
{
private Box hover;
public OsuButton()
protected OsuButton()
{
Height = 40;