Adjust usage of Handle(Non)PositionalInput to follow framework update

This commit is contained in:
ekrctb
2018-10-02 14:41:18 +09:00
parent b7a2ad1aa5
commit 68980fc477
15 changed files with 22 additions and 36 deletions

View File

@ -30,10 +30,6 @@ namespace osu.Game.Graphics.Backgrounds
/// </summary>
private const float edge_smoothness = 1;
public override bool HandleNonPositionalInput => false;
public override bool HandlePositionalInput => false;
public Color4 ColourLight = Color4.White;
public Color4 ColourDark = Color4.Black;

View File

@ -20,8 +20,6 @@ namespace osu.Game.Graphics.Containers
{
}
public override bool HandlePositionalInput => true;
private OsuGame game;
private Action showNotImplementedError;

View File

@ -54,8 +54,6 @@ namespace osu.Game.Graphics
Scheduler.AddDelayed(updateTimeWithReschedule, timeUntilNextUpdate);
}
public override bool HandlePositionalInput => true;
protected virtual string Format() => Date.Humanize();
private void updateTime() => Text = Format();

View File

@ -97,6 +97,9 @@ namespace osu.Game.Graphics.UserInterface
#region DrawableOsuDropdownMenuItem
public class DrawableOsuDropdownMenuItem : DrawableDropdownMenuItem, IHasAccentColour
{
// IsHovered is used
public override bool HandlePositionalInput => true;
private Color4? accentColour;
public Color4 AccentColour
{