Store keybind priority (#26356)

* Fix saving keybind priority

* Change movestoreditem keybind priority to prevent bug

---------

Co-authored-by: wrexbe <wrexbe@protonmail.com>
(cherry picked from commit f7a1ffd0aab25d70ac185753d596469fc1e87480)
This commit is contained in:
Wrexbe (Josh) 2024-03-24 11:25:04 -07:00 committed by NullWanderer
parent 9cc30d2b00
commit 0bb151f0d5
No known key found for this signature in database
GPG Key ID: 65CF92BD1D26F4AC
2 changed files with 2 additions and 1 deletions

View File

@ -403,7 +403,7 @@ namespace Content.Client.Options.UI.Tabs
Mod1 = mods[0],
Mod2 = mods[1],
Mod3 = mods[2],
Priority = 0,
Priority = _currentlyRebinding.Binding?.Priority ?? 0,
Type = bindType,
CanFocus = key == Keyboard.Key.MouseLeft
|| key == Keyboard.Key.MouseRight

View File

@ -167,6 +167,7 @@ binds:
type: State
key: MouseLeft
canFocus: true
priority: 10
- function: RotateStoredItem
type: State
key: MouseRight