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:
Wrexbe (Josh)
2024-03-24 11:25:04 -07:00
committed by GitHub
parent 4dced51f0d
commit f7a1ffd0aa
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