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
1 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,8 @@ protected override bool OnScroll(ScrollEvent e)
private class ExpandingToolboxContainer : ExpandingContainer
{
protected override double HoverExpansionDelay => 250;
public ExpandingToolboxContainer()
: base(130, 250)
{