mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Split out the base design of sheared overlay into its own abstract class
This will allow for reuse with the first-run overlay.
This commit is contained in:
@ -21,6 +21,8 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
public class PopupScreenTitle : CompositeDrawable
|
||||
{
|
||||
public const float HEIGHT = main_area_height + 2 * corner_radius;
|
||||
|
||||
public LocalisableString Title
|
||||
{
|
||||
set => titleSpriteText.Text = value;
|
||||
@ -67,7 +69,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
underlayContainer = new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Height = main_area_height + 2 * corner_radius,
|
||||
Height = HEIGHT,
|
||||
CornerRadius = corner_radius,
|
||||
Masking = true,
|
||||
BorderThickness = 2,
|
||||
|
Reference in New Issue
Block a user