1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 12:02:55 +08:00

Remove hover override for ChannelListScrollContainer

This commit is contained in:
Jai Sharma 2022-04-16 19:16:06 +01:00
parent b6631fb9f9
commit 4a0c5a0781

View File

@ -10,7 +10,6 @@ using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input.Events;
using osu.Game.Graphics;
using osu.Game.Graphics.Containers;
using osu.Game.Graphics.Sprites;
@ -136,18 +135,6 @@ namespace osu.Game.Overlays.Chat.ChannelList
private class ChannelListScrollContainer : OsuScrollContainer
{
protected override bool OnHover(HoverEvent e)
{
ScrollbarVisible = true;
return base.OnHover(e);
}
protected override void OnHoverLost(HoverLostEvent e)
{
ScrollbarVisible = false;
base.OnHoverLost(e);
}
protected override ScrollbarContainer CreateScrollbar(Direction direction)
=> new ChannelListScrollBar(direction);