1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 04:02:59 +08:00

Give snapping toolbox enough hover delay for interaction with expand button

With 0 delay, if the `SettingsToolboxGroup` has been contracted via
button, there's no chance to be able to expand it via button again.

This is temporary at best just to keep things working somewhat, not sure
if the expansion logic will still be required in editor redesign, so
deciding to roll with it for now.
This commit is contained in:
Salman Ahmed 2022-04-24 08:53:10 +03:00
parent 8ed39009fd
commit 0738cd028f

View File

@ -106,6 +106,8 @@ namespace osu.Game.Rulesets.Osu.Edit
private class ExpandingToolboxContainer : ExpandingContainer
{
protected override double HoverExpansionDelay => 250;
public ExpandingToolboxContainer()
: base(130, 250)
{