Rename test scene, add xmldoc and increase scale factor to something absurdly high

This commit is contained in:
Dean Herbert 2023-09-26 16:39:36 +09:00
parent ad86bf2d56
commit b1561b650f
1 changed files with 9 additions and 2 deletions

View File

@ -14,7 +14,14 @@
namespace osu.Game.Tests.Visual.Gameplay
{
public partial class TestSceneGameplayElementDimensions : TestSceneAllRulesetPlayers
/// <summary>
/// Upscales all gameplay sprites by a huge amount, to aid in manually checking skin texture size limits
/// on individual elements.
/// </summary>
/// <remarks>
/// The HUD is hidden as it does't really affect game balance if HUD elements are larger than they should be.
/// </remarks>
public partial class TestScenePlayerMaxDimensions : TestSceneAllRulesetPlayers
{
protected override IReadOnlyDependencyContainer CreateChildDependencies(IReadOnlyDependencyContainer parent)
{
@ -61,7 +68,7 @@ public event Action? SourceChanged
var texture = base.GetTexture(componentName, wrapModeS, wrapModeT);
if (texture != null)
texture.ScaleAdjust /= 5f;
texture.ScaleAdjust /= 40f;
return texture;
}