@@ -32,8 +32,6 @@ public partial class BeatmapTitleWedge : VisibilityContainer
32
32
{
33
33
private const float corner_radius = 10 ;
34
34
35
- private static readonly Vector2 shear = new Vector2 ( OsuGame . SHEAR , 0 ) ;
36
-
37
35
[ Resolved ]
38
36
private IBindable < WorkingBeatmap > beatmap { get ; set ; } = null ! ;
39
37
@@ -79,7 +77,7 @@ public BeatmapTitleWedge()
79
77
[ BackgroundDependencyLoader ]
80
78
private void load ( )
81
79
{
82
- Shear = shear ;
80
+ Shear = OsuGame . SHEAR ;
83
81
Masking = true ;
84
82
CornerRadius = corner_radius ;
85
83
@@ -97,16 +95,16 @@ private void load()
97
95
Left = SongSelect . WEDGE_CONTENT_MARGIN
98
96
} ,
99
97
Spacing = new Vector2 ( 0f , 4f ) ,
100
- Shear = - shear ,
98
+ Shear = - OsuGame . SHEAR ,
101
99
Children = new Drawable [ ]
102
100
{
103
- new ShearAlignedDrawable ( shear , statusPill = new BeatmapSetOnlineStatusPill
101
+ new ShearAligningWrapper ( statusPill = new BeatmapSetOnlineStatusPill
104
102
{
105
103
ShowUnknownStatus = true ,
106
104
TextSize = OsuFont . Style . Caption1 . Size ,
107
105
TextPadding = new MarginPadding { Horizontal = 6 , Vertical = 1 } ,
108
106
} ) ,
109
- new ShearAlignedDrawable ( shear , titleContainer = new Container
107
+ new ShearAligningWrapper ( titleContainer = new Container
110
108
{
111
109
RelativeSizeAxes = Axes . X ,
112
110
Height = OsuFont . Style . Title . Size ,
@@ -121,7 +119,7 @@ private void load()
121
119
} ,
122
120
}
123
121
} ) ,
124
- new ShearAlignedDrawable ( shear , artistContainer = new Container
122
+ new ShearAligningWrapper ( artistContainer = new Container
125
123
{
126
124
RelativeSizeAxes = Axes . X ,
127
125
Height = OsuFont . Style . Heading2 . Size ,
@@ -136,7 +134,7 @@ private void load()
136
134
} ,
137
135
}
138
136
} ) ,
139
- new ShearAlignedDrawable ( shear , new FillFlowContainer
137
+ new ShearAligningWrapper ( new FillFlowContainer
140
138
{
141
139
AutoSizeAxes = Axes . Both ,
142
140
Direction = FillDirection . Horizontal ,
@@ -161,7 +159,7 @@ private void load()
161
159
} ,
162
160
} ,
163
161
} ) ,
164
- new ShearAlignedDrawable ( shear , new Container
162
+ new ShearAligningWrapper ( new Container
165
163
{
166
164
RelativeSizeAxes = Axes . X ,
167
165
AutoSizeAxes = Axes . Y ,
0 commit comments