@@ -32,6 +32,8 @@ public class TauPlayfield : Playfield
32
32
private JudgementContainer < DrawableTauJudgement > judgementLayer ;
33
33
private readonly Container < KiaiHitExplosion > kiaiExplosionContainer ;
34
34
35
+ public const float UNIVERSAL_SCALE = 0.6f ;
36
+
35
37
public TauPlayfield ( )
36
38
{
37
39
cursor = new TauCursor ( ) ;
@@ -48,7 +50,7 @@ public TauPlayfield()
48
50
{
49
51
Colour = Color4 . Black ,
50
52
RelativeSizeAxes = Axes . Both ,
51
- Size = new Vector2 ( 0.6f ) ,
53
+ Size = new Vector2 ( UNIVERSAL_SCALE ) ,
52
54
FillAspectRatio = 1 ,
53
55
FillMode = FillMode . Fit ,
54
56
Anchor = Anchor . Centre ,
@@ -57,7 +59,7 @@ public TauPlayfield()
57
59
new Container
58
60
{
59
61
RelativeSizeAxes = Axes . Both ,
60
- Size = new Vector2 ( 0.6f ) ,
62
+ Size = new Vector2 ( UNIVERSAL_SCALE ) ,
61
63
Anchor = Anchor . Centre ,
62
64
Origin = Anchor . Centre ,
63
65
Children = new Drawable [ ]
@@ -81,7 +83,19 @@ public TauPlayfield()
81
83
} ,
82
84
}
83
85
} ,
84
- HitObjectContainer ,
86
+ new Container
87
+ {
88
+ RelativeSizeAxes = Axes . Both ,
89
+ FillMode = FillMode . Fit ,
90
+ FillAspectRatio = 1 ,
91
+ Anchor = Anchor . Centre ,
92
+ Origin = Anchor . Centre ,
93
+ Size = new Vector2 ( UNIVERSAL_SCALE ) ,
94
+ Children = new Drawable [ ]
95
+ {
96
+ HitObjectContainer ,
97
+ }
98
+ } ,
85
99
cursor ,
86
100
kiaiExplosionContainer = new Container < KiaiHitExplosion >
87
101
{
@@ -168,7 +182,7 @@ private class VisualisationContainer : BeatSyncedContainer
168
182
private void load ( TauRulesetConfigManager settings )
169
183
{
170
184
RelativeSizeAxes = Axes . Both ;
171
- Size = new Vector2 ( 0.6f ) ;
185
+ Size = new Vector2 ( UNIVERSAL_SCALE ) ;
172
186
Anchor = Anchor . Centre ;
173
187
Origin = Anchor . Centre ;
174
188
0 commit comments