1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 17:27:24 +08:00

Handle hover so that users can hover disclaimer to block load & read it

This commit is contained in:
Bartłomiej Dach 2024-03-15 11:45:27 +01:00
parent e6883b8418
commit a78210c88f
No known key found for this signature in database

View File

@ -5,6 +5,7 @@ using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input.Events;
using osu.Framework.Localisation;
using osu.Game.Graphics;
using osu.Game.Overlays;
@ -79,5 +80,8 @@ namespace osu.Game.Screens.Play
}
};
}
// handle hover so that users can hover the disclaimer to delay load if they want to read it.
protected override bool OnHover(HoverEvent e) => true;
}
}