mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 20:22:55 +08:00
Remove hover override for ChannelListScrollContainer
This commit is contained in:
parent
b6631fb9f9
commit
4a0c5a0781
@ -10,7 +10,6 @@ using osu.Framework.Bindables;
|
|||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Framework.Graphics.Shapes;
|
using osu.Framework.Graphics.Shapes;
|
||||||
using osu.Framework.Input.Events;
|
|
||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using osu.Game.Graphics.Containers;
|
using osu.Game.Graphics.Containers;
|
||||||
using osu.Game.Graphics.Sprites;
|
using osu.Game.Graphics.Sprites;
|
||||||
@ -136,18 +135,6 @@ namespace osu.Game.Overlays.Chat.ChannelList
|
|||||||
|
|
||||||
private class ChannelListScrollContainer : OsuScrollContainer
|
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)
|
protected override ScrollbarContainer CreateScrollbar(Direction direction)
|
||||||
=> new ChannelListScrollBar(direction);
|
=> new ChannelListScrollBar(direction);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user