mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Adjust sprite texts in-line with framework changes
This commit is contained in:
@ -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()
|
||||
};
|
||||
|
@ -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>
|
||||
{
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user