mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 13:22:57 +08:00
Use explicit casts
This commit is contained in:
parent
e76c56b03b
commit
05b5949810
@ -4,7 +4,6 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Extensions.Color4Extensions;
|
using osu.Framework.Extensions.Color4Extensions;
|
||||||
@ -104,9 +103,9 @@ namespace osu.Game.Overlays.Changelog
|
|||||||
{
|
{
|
||||||
var fill = base.CreateHeader();
|
var fill = base.CreateHeader();
|
||||||
|
|
||||||
var nestedFill = fill.Children.OfType<FillFlowContainer>().First();
|
var nestedFill = (FillFlowContainer)fill.Child;
|
||||||
|
|
||||||
var buildDisplay = nestedFill.Children.OfType<OsuHoverContainer>().First();
|
var buildDisplay = (OsuHoverContainer)nestedFill.Child;
|
||||||
|
|
||||||
buildDisplay.Scale = new Vector2(1.25f);
|
buildDisplay.Scale = new Vector2(1.25f);
|
||||||
buildDisplay.Action = null;
|
buildDisplay.Action = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user