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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user