mirror of
https://github.com/ppy/osu.git
synced 2025-03-12 10:27:20 +08:00
Merge remote-tracking branch 'refs/remotes/ppy/master' into user_profile_modes
This commit is contained in:
commit
c1b04746f8
1
.github/FUNDING.yml
vendored
Normal file
1
.github/FUNDING.yml
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
custom: https://osu.ppy.sh/home/support
|
@ -41,7 +41,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
TestUpdateableBeatmapBackgroundSprite background = null;
|
TestUpdateableBeatmapBackgroundSprite background = null;
|
||||||
|
|
||||||
AddStep("load null beatmap", () => Child = background = new TestUpdateableBeatmapBackgroundSprite { RelativeSizeAxes = Axes.Both });
|
AddStep("load null beatmap", () => Child = background = new TestUpdateableBeatmapBackgroundSprite { RelativeSizeAxes = Axes.Both });
|
||||||
AddAssert("no content", () => !background.ContentLoaded);
|
AddUntilStep("content loaded", () => background.ContentLoaded);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
@ -17,11 +17,11 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A button with added default sound effects.
|
/// A button with added default sound effects.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class OsuButton : Button
|
public abstract class OsuButton : Button
|
||||||
{
|
{
|
||||||
private Box hover;
|
private Box hover;
|
||||||
|
|
||||||
public OsuButton()
|
protected OsuButton()
|
||||||
{
|
{
|
||||||
Height = 40;
|
Height = 40;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user