From e61f7f99a87dbac84175aad4cfdf7c36e4adb059 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 21:54:23 +0000 Subject: [PATCH 1/2] Bump ppy.osu.Game from 2024.219.0 to 2024.221.0 Bumps [ppy.osu.Game](https://github.com/ppy/osu) from 2024.219.0 to 2024.221.0. - [Release notes](https://github.com/ppy/osu/releases) - [Commits](https://github.com/ppy/osu/compare/2024.219.0...2024.221.0) --- updated-dependencies: - dependency-name: ppy.osu.Game dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- osu.Game.Rulesets.Sentakki/osu.Game.Rulesets.Sentakki.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Rulesets.Sentakki/osu.Game.Rulesets.Sentakki.csproj b/osu.Game.Rulesets.Sentakki/osu.Game.Rulesets.Sentakki.csproj index 6bbd089e2..5577b3e68 100644 --- a/osu.Game.Rulesets.Sentakki/osu.Game.Rulesets.Sentakki.csproj +++ b/osu.Game.Rulesets.Sentakki/osu.Game.Rulesets.Sentakki.csproj @@ -9,7 +9,7 @@ osu.Game.Rulesets.Sentakki - + From 65586c05f70bb9ae99d17290b0bd0ce66ad6829a Mon Sep 17 00:00:00 2001 From: Derrick Timmermans Date: Wed, 21 Feb 2024 23:01:03 +0100 Subject: [PATCH 2/2] Don't attempt to cast pressedActions --- osu.Game.Rulesets.Sentakki/SentakkiInputManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game.Rulesets.Sentakki/SentakkiInputManager.cs b/osu.Game.Rulesets.Sentakki/SentakkiInputManager.cs index b27b47364..46f0a94ac 100644 --- a/osu.Game.Rulesets.Sentakki/SentakkiInputManager.cs +++ b/osu.Game.Rulesets.Sentakki/SentakkiInputManager.cs @@ -46,7 +46,7 @@ protected override bool Handle(UIEvent e) protected override void PropagateReleased(IEnumerable drawables, InputState state, SentakkiAction released) { int actionCount = 0; - var pressed = (List)PressedActions; + var pressed = PressedActions; for (int i = 0; i < pressed.Count; ++i) { @@ -61,7 +61,7 @@ protected override void PropagateReleased(IEnumerable drawables, Input } } - public SlimReadOnlyListWrapper PressedActions => ((List)KeyBindingContainer.PressedActions).AsSlimReadOnly(); + public SlimReadOnlyListWrapper PressedActions => KeyBindingContainer.PressedActions; // For makeshift virtual input handling public void TriggerPressed(SentakkiAction action) => KeyBindingContainer.TriggerPressed(action);