Adjust sprite texts in-line with framework changes

This commit is contained in:
smoogipoo
2019-02-12 13:04:46 +09:00
parent e174fa2d3e
commit a2aa3ec5cb
140 changed files with 424 additions and 514 deletions

View File

@ -14,6 +14,7 @@ using System;
using System.Linq;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Input.Events;
using osu.Game.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Mods
@ -275,7 +276,7 @@ namespace osu.Game.Overlays.Mods
Y = 75,
Origin = Anchor.TopCentre,
Anchor = Anchor.TopCentre,
TextSize = 18,
Font = OsuFont.GetFont(size: 18)
},
new HoverClickSounds()
};

View File

@ -11,6 +11,7 @@ using System;
using System.Linq;
using System.Collections.Generic;
using osu.Framework.Input.Events;
using osu.Game.Graphics;
namespace osu.Game.Overlays.Mods
{
@ -123,7 +124,7 @@ namespace osu.Game.Overlays.Mods
Origin = Anchor.TopLeft,
Anchor = Anchor.TopLeft,
Position = new Vector2(0f, 0f),
Font = @"Exo2.0-Bold"
Font = OsuFont.GetFont(weight: FontWeight.Bold)
},
ButtonsContainer = new FillFlowContainer<ModButtonEmpty>
{

View File

@ -264,9 +264,8 @@ namespace osu.Game.Overlays.Mods
{
new OsuSpriteText
{
Font = @"Exo2.0-Bold",
Text = @"Gameplay Mods",
TextSize = 22,
Font = OsuFont.GetFont(size: 22, weight: FontWeight.Bold),
Shadow = true,
Margin = new MarginPadding
{
@ -275,7 +274,7 @@ namespace osu.Game.Overlays.Mods
},
new OsuTextFlowContainer(text =>
{
text.TextSize = 18;
text.Font = OsuFont.GetFont(text.Font, size: 18);
text.Shadow = true;
})
{
@ -365,7 +364,7 @@ namespace osu.Game.Overlays.Mods
new OsuSpriteText
{
Text = @"Score Multiplier:",
TextSize = 30,
Font = OsuFont.GetFont(size: 30),
Margin = new MarginPadding
{
Top = 5,
@ -374,8 +373,7 @@ namespace osu.Game.Overlays.Mods
},
MultiplierLabel = new OsuSpriteText
{
Font = @"Exo2.0-Bold",
TextSize = 30,
Font = OsuFont.GetFont(size: 30, weight: FontWeight.Bold),
Margin = new MarginPadding
{
Top = 5
@ -383,9 +381,8 @@ namespace osu.Game.Overlays.Mods
},
UnrankedLabel = new OsuSpriteText
{
Font = @"Exo2.0-Bold",
Text = @"(Unranked)",
TextSize = 30,
Font = OsuFont.GetFont(size: 30, weight: FontWeight.Bold),
Margin = new MarginPadding
{
Top = 5,