1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 16:42:57 +08:00

Fix code inspections after base panel class extraction

This commit is contained in:
Bartłomiej Dach 2022-07-21 23:29:02 +02:00
parent d796b7d53c
commit 6cd18fad99
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497
2 changed files with 8 additions and 8 deletions

View File

@ -60,7 +60,7 @@ namespace osu.Game.Overlays.Mods
RelativeSizeAxes = Axes.Y, RelativeSizeAxes = Axes.Y,
AutoSizeAxes = Axes.X, AutoSizeAxes = Axes.X,
Masking = true, Masking = true,
CornerRadius = ModPanel.CORNER_RADIUS, CornerRadius = ModSelectOverlayPanel.CORNER_RADIUS,
Shear = new Vector2(ShearedOverlayContainer.SHEAR, 0), Shear = new Vector2(ShearedOverlayContainer.SHEAR, 0),
Children = new Drawable[] Children = new Drawable[]
{ {
@ -69,7 +69,7 @@ namespace osu.Game.Overlays.Mods
Anchor = Anchor.CentreRight, Anchor = Anchor.CentreRight,
Origin = Anchor.CentreRight, Origin = Anchor.CentreRight,
RelativeSizeAxes = Axes.Y, RelativeSizeAxes = Axes.Y,
Width = multiplier_value_area_width + ModPanel.CORNER_RADIUS Width = multiplier_value_area_width + ModSelectOverlayPanel.CORNER_RADIUS
}, },
new GridContainer new GridContainer
{ {
@ -89,7 +89,7 @@ namespace osu.Game.Overlays.Mods
RelativeSizeAxes = Axes.Y, RelativeSizeAxes = Axes.Y,
AutoSizeAxes = Axes.X, AutoSizeAxes = Axes.X,
Masking = true, Masking = true,
CornerRadius = ModPanel.CORNER_RADIUS, CornerRadius = ModSelectOverlayPanel.CORNER_RADIUS,
Children = new Drawable[] Children = new Drawable[]
{ {
contentBackground = new Box contentBackground = new Box

View File

@ -105,20 +105,20 @@ namespace osu.Game.Overlays.Mods
TopLevelContent = new Container TopLevelContent = new Container
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
CornerRadius = ModPanel.CORNER_RADIUS, CornerRadius = ModSelectOverlayPanel.CORNER_RADIUS,
Masking = true, Masking = true,
Children = new Drawable[] Children = new Drawable[]
{ {
new Container new Container
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Height = header_height + ModPanel.CORNER_RADIUS, Height = header_height + ModSelectOverlayPanel.CORNER_RADIUS,
Children = new Drawable[] Children = new Drawable[]
{ {
headerBackground = new Box headerBackground = new Box
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Height = header_height + ModPanel.CORNER_RADIUS Height = header_height + ModSelectOverlayPanel.CORNER_RADIUS
}, },
headerText = new OsuTextFlowContainer(t => headerText = new OsuTextFlowContainer(t =>
{ {
@ -135,7 +135,7 @@ namespace osu.Game.Overlays.Mods
Padding = new MarginPadding Padding = new MarginPadding
{ {
Horizontal = 17, Horizontal = 17,
Bottom = ModPanel.CORNER_RADIUS Bottom = ModSelectOverlayPanel.CORNER_RADIUS
} }
} }
} }
@ -148,7 +148,7 @@ namespace osu.Game.Overlays.Mods
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Masking = true, Masking = true,
CornerRadius = ModPanel.CORNER_RADIUS, CornerRadius = ModSelectOverlayPanel.CORNER_RADIUS,
BorderThickness = 3, BorderThickness = 3,
Children = new Drawable[] Children = new Drawable[]
{ {