mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 06:07:11 +09:00
Fix links not working due to rewrite regression
This commit is contained in:
@ -26,7 +26,9 @@ namespace osu.Game.Overlays.Changelog
|
||||
private readonly SpriteIcon chevron;
|
||||
private readonly TextBadgePairRelease releaseStream;
|
||||
|
||||
public Action ListingActivated;
|
||||
public delegate void ListingSelectedEventHandler();
|
||||
|
||||
public event ListingSelectedEventHandler ListingSelected;
|
||||
|
||||
private const float cover_height = 280;
|
||||
private const float title_height = 50;
|
||||
@ -127,7 +129,7 @@ namespace osu.Game.Overlays.Changelog
|
||||
Margin = new MarginPadding
|
||||
{
|
||||
Top = 10,
|
||||
Left = 7,
|
||||
Left = 15,
|
||||
Right = 18,
|
||||
Bottom = 15,
|
||||
},
|
||||
@ -157,6 +159,7 @@ namespace osu.Game.Overlays.Changelog
|
||||
Origin = Anchor.CentreLeft,
|
||||
},
|
||||
};
|
||||
listing.Activated += OnListingSelected;
|
||||
}
|
||||
|
||||
public void ShowBuild(string displayName, string displayVersion)
|
||||
@ -175,6 +178,11 @@ namespace osu.Game.Overlays.Changelog
|
||||
chevron.MoveToX(-20, 100).FadeOut(100);
|
||||
}
|
||||
|
||||
protected virtual void OnListingSelected(object source, EventArgs e)
|
||||
{
|
||||
ListingSelected?.Invoke();
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(TextureStore textures)
|
||||
{
|
||||
|
Reference in New Issue
Block a user