From c3a81127f2fb3b29175992ac3fc2821befa912c9 Mon Sep 17 00:00:00 2001 From: DrabWeb Date: Tue, 28 Feb 2017 02:25:38 -0400 Subject: [PATCH] Updated to work with latest framework --- osu.Game/Overlays/Mods/ModButton.cs | 5 +++-- osu.Game/Overlays/Mods/ModSelectOverlay.cs | 2 +- osu.Game/Overlays/WaveOverlayContainer.cs | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/osu.Game/Overlays/Mods/ModButton.cs b/osu.Game/Overlays/Mods/ModButton.cs index dfc145468c..fb20116c46 100644 --- a/osu.Game/Overlays/Mods/ModButton.cs +++ b/osu.Game/Overlays/Mods/ModButton.cs @@ -13,7 +13,8 @@ using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; -using osu.Framework.Graphics.Transformations; +using osu.Framework.Graphics.Transforms; +using osu.Framework.Input; using osu.Game.Graphics.Sprites; using osu.Game.Modes; using osu.Game.Modes.UI; @@ -127,7 +128,7 @@ namespace osu.Game.Overlays.Mods sampleOff = audio.Sample.Get(@"Checkbox/check-off"); } - protected override bool OnMouseDown(Framework.Input.InputState state, MouseDownEventArgs args) + protected override bool OnMouseDown(InputState state, MouseDownEventArgs args) { (args.Button == MouseButton.Right ? (Action)SelectPrevious : SelectNext)(); return true; diff --git a/osu.Game/Overlays/Mods/ModSelectOverlay.cs b/osu.Game/Overlays/Mods/ModSelectOverlay.cs index b0d3d033d8..1c9a6541b7 100644 --- a/osu.Game/Overlays/Mods/ModSelectOverlay.cs +++ b/osu.Game/Overlays/Mods/ModSelectOverlay.cs @@ -9,7 +9,7 @@ using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Primitives; using osu.Framework.Graphics.Sprites; -using osu.Framework.Graphics.Transformations; +using osu.Framework.Graphics.Transforms; using osu.Game.Graphics; using osu.Game.Graphics.Backgrounds; using osu.Game.Graphics.Sprites; diff --git a/osu.Game/Overlays/WaveOverlayContainer.cs b/osu.Game/Overlays/WaveOverlayContainer.cs index c454c4bd1d..37a939005b 100644 --- a/osu.Game/Overlays/WaveOverlayContainer.cs +++ b/osu.Game/Overlays/WaveOverlayContainer.cs @@ -8,7 +8,7 @@ using osu.Game.Graphics; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using OpenTK; -using osu.Framework.Graphics.Transformations; +using osu.Framework.Graphics.Transforms; namespace osu.Game.Overlays {