From 22025cdbc9699da48a7025f03f1ca5d8ea0a62e5 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sun, 22 Dec 2024 16:15:30 +0100 Subject: [PATCH] Fix right-click on server info bar 'character switch' icon --- KitchenSink/Commands/CharacterSwitch.cs | 2 +- KitchenSink/KitchenSink.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/KitchenSink/Commands/CharacterSwitch.cs b/KitchenSink/Commands/CharacterSwitch.cs index a5ebcdb..9463039 100644 --- a/KitchenSink/Commands/CharacterSwitch.cs +++ b/KitchenSink/Commands/CharacterSwitch.cs @@ -62,7 +62,7 @@ internal sealed class CharacterSwitch : IDisposable { UIInputData* uiInputData = UIInputData.Instance(); MouseButtonFlags mouseButtonFlags = - uiInputData != null ? uiInputData->CursorInputs.MouseButtonReleasedFlags : MouseButtonFlags.LBUTTON; + uiInputData != null ? uiInputData->CursorInputs.MouseButtonHeldThrottledFlags : MouseButtonFlags.LBUTTON; var target = FindCharacter(mouseButtonFlags.HasFlag(MouseButtonFlags.RBUTTON) ? -1 : 1); SwitchCharacter(target); } diff --git a/KitchenSink/KitchenSink.csproj b/KitchenSink/KitchenSink.csproj index 4c5f06a..320d82c 100644 --- a/KitchenSink/KitchenSink.csproj +++ b/KitchenSink/KitchenSink.csproj @@ -1,6 +1,6 @@  - 2.1 + 2.2 dist