mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Adapt signature change of event handlers
This commit is contained in:
@ -159,7 +159,7 @@ namespace osu.Game.Overlays.Mods
|
||||
scaleContainer.ScaleTo(1, 500, Easing.OutElastic);
|
||||
|
||||
// only trigger the event if we are inside the area of the button
|
||||
if (Contains(ToScreenSpace(state.Mouse.Position - Position)))
|
||||
if (Contains(e.ScreenSpaceMousePosition))
|
||||
{
|
||||
switch (e.Button)
|
||||
{
|
||||
|
Reference in New Issue
Block a user