mirror of
https://github.com/ppy/osu
synced 2025-01-08 23:29:43 +00:00
Fix links not working in partially masked text flow
This commit is contained in:
parent
2ecbb23b63
commit
da98915c0c
@ -79,6 +79,7 @@ namespace osu.Game.Graphics.Containers
|
||||
{
|
||||
AddInternal(new DrawableLinkCompiler(drawables.OfType<SpriteText>().ToList())
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
TooltipText = tooltipText ?? (url != text ? url : string.Empty),
|
||||
Action = action ?? (() =>
|
||||
{
|
||||
@ -122,5 +123,7 @@ namespace osu.Game.Graphics.Containers
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
||||
public override IEnumerable<Drawable> FlowingChildren => base.FlowingChildren.Where(c => !(c is DrawableLinkCompiler));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user