feat: add keybind mode options
This commit is contained in:
@@ -367,7 +367,12 @@ internal sealed unsafe class Chat : IDisposable {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!modifierState.HasFlag(modifier)) {
|
||||
var modifierPressed = this.Plugin.Config.KeybindMode switch {
|
||||
KeybindMode.Strict => modifier == modifierState,
|
||||
KeybindMode.Flexible => modifierState.HasFlag(modifier),
|
||||
_ => false,
|
||||
};
|
||||
if (!modifierPressed) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user