Update framework with tooltip changes

This commit is contained in:
Thomas Müller 2017-07-07 08:59:17 +03:00
parent eb64765848
commit 6de9776e05
5 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit 862e478219a376f769a7ecb32f6fa135fd69cb26
Subproject commit c966b1b9d035f8b1df5ee81db7aae112ac374847

View File

@ -15,7 +15,7 @@ namespace osu.Game.Graphics.Cursor
{
public class OsuTooltipContainer : TooltipContainer
{
protected override Tooltip CreateTooltip() => new OsuTooltip();
protected override ITooltip CreateTooltip() => new OsuTooltip();
public OsuTooltipContainer(CursorContainer cursor) : base(cursor)
{

View File

@ -194,7 +194,7 @@ namespace osu.Game.Overlays
protected override bool OnDragStart(InputState state)
{
if (!channelTabs.Hovering)
if (!channelTabs.IsHovered)
return base.OnDragStart(state);
startDragChatHeight = chatHeight.Value;

View File

@ -236,7 +236,7 @@ namespace osu.Game.Screens.Menu
if (beatIndex < 0) return;
if (Hovering)
if (IsHovered)
{
using (BeginDelayedSequence(early_activation))
Schedule(() => sampleBeat.Play());

View File

@ -156,7 +156,7 @@ namespace osu.Game.Screens.Play
if (lastState == Visibility.Hidden)
FadeIn(500, EasingTypes.OutExpo);
if (!Hovering)
if (!IsHovered)
using (BeginDelayedSequence(1000))
scheduledHide = Schedule(() => State = Visibility.Hidden);
break;