1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 03:02:36 +08:00

Merge pull request #34384 from peppy/back-to-top-not-a-square

Fix back-to-top button handling input outside itself
This commit is contained in:
Bartłomiej Dach
2025-07-28 08:35:46 +02:00
committed by GitHub
Unverified
@@ -119,10 +119,13 @@ namespace osu.Game.Overlays
private Sample scrollToTopSample;
private Sample scrollToPreviousSample;
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => content.ReceivePositionalInputAt(screenSpacePos);
public ScrollBackButton()
{
Size = new Vector2(50);
Alpha = 0;
Add(content = new CircularContainer
{
RelativeSizeAxes = Axes.Both,