Add a few more missing partial specs

This commit is contained in:
Bartłomiej Dach 2022-11-26 16:30:10 +01:00
parent 894ef15e79
commit 212d78865a
No known key found for this signature in database
6 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@ using osu.Framework.Graphics.Rendering;
namespace osu.Game.Tests.Visual.Background namespace osu.Game.Tests.Visual.Background
{ {
public class TestSceneTriangleBorderShader : OsuTestScene public partial class TestSceneTriangleBorderShader : OsuTestScene
{ {
private readonly TriangleBorder border; private readonly TriangleBorder border;
@ -41,7 +41,7 @@ namespace osu.Game.Tests.Visual.Background
AddSliderStep("Thickness", 0f, 1f, 0.02f, t => border.Thickness = t); AddSliderStep("Thickness", 0f, 1f, 0.02f, t => border.Thickness = t);
} }
private class TriangleBorder : Sprite private partial class TriangleBorder : Sprite
{ {
private float thickness = 0.02f; private float thickness = 0.02f;

View File

@ -10,7 +10,7 @@ using osu.Game.Graphics.Backgrounds;
namespace osu.Game.Tests.Visual.Background namespace osu.Game.Tests.Visual.Background
{ {
public class TestSceneTrianglesV2Background : OsuTestScene public partial class TestSceneTrianglesV2Background : OsuTestScene
{ {
private readonly TrianglesV2 triangles; private readonly TrianglesV2 triangles;

View File

@ -13,7 +13,7 @@ using osu.Game.Overlays.Chat;
namespace osu.Game.Tests.Visual.Online namespace osu.Game.Tests.Visual.Online
{ {
[TestFixture] [TestFixture]
public class TestSceneDrawableChannel : OsuTestScene public partial class TestSceneDrawableChannel : OsuTestScene
{ {
private Channel channel = null!; private Channel channel = null!;
private DrawableChannel drawableChannel = null!; private DrawableChannel drawableChannel = null!;

View File

@ -19,7 +19,7 @@ using osu.Framework.Graphics;
namespace osu.Game.Graphics.Backgrounds namespace osu.Game.Graphics.Backgrounds
{ {
public class TrianglesV2 : Drawable public partial class TrianglesV2 : Drawable
{ {
private const float triangle_size = 100; private const float triangle_size = 100;
private const float base_velocity = 50; private const float base_velocity = 50;

View File

@ -24,7 +24,7 @@ using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Skinning.Components namespace osu.Game.Skinning.Components
{ {
[UsedImplicitly] [UsedImplicitly]
public class BeatmapAttributeText : Container, ISkinnableDrawable public partial class BeatmapAttributeText : Container, ISkinnableDrawable
{ {
public bool UsesFixedAnchor { get; set; } public bool UsesFixedAnchor { get; set; }

View File

@ -12,7 +12,7 @@ using osu.Game.Graphics.Sprites;
namespace osu.Game.Skinning.Components namespace osu.Game.Skinning.Components
{ {
[UsedImplicitly] [UsedImplicitly]
public class TextElement : Container, ISkinnableDrawable public partial class TextElement : Container, ISkinnableDrawable
{ {
public bool UsesFixedAnchor { get; set; } public bool UsesFixedAnchor { get; set; }