Store keybind priority (#26356)
* Fix saving keybind priority * Change movestoreditem keybind priority to prevent bug --------- Co-authored-by: wrexbe <wrexbe@protonmail.com>
This commit is contained in:
@@ -403,7 +403,7 @@ namespace Content.Client.Options.UI.Tabs
|
|||||||
Mod1 = mods[0],
|
Mod1 = mods[0],
|
||||||
Mod2 = mods[1],
|
Mod2 = mods[1],
|
||||||
Mod3 = mods[2],
|
Mod3 = mods[2],
|
||||||
Priority = 0,
|
Priority = _currentlyRebinding.Binding?.Priority ?? 0,
|
||||||
Type = bindType,
|
Type = bindType,
|
||||||
CanFocus = key == Keyboard.Key.MouseLeft
|
CanFocus = key == Keyboard.Key.MouseLeft
|
||||||
|| key == Keyboard.Key.MouseRight
|
|| key == Keyboard.Key.MouseRight
|
||||||
|
|||||||
@@ -167,6 +167,7 @@ binds:
|
|||||||
type: State
|
type: State
|
||||||
key: MouseLeft
|
key: MouseLeft
|
||||||
canFocus: true
|
canFocus: true
|
||||||
|
priority: 10
|
||||||
- function: RotateStoredItem
|
- function: RotateStoredItem
|
||||||
type: State
|
type: State
|
||||||
key: MouseRight
|
key: MouseRight
|
||||||
|
|||||||
Reference in New Issue
Block a user