[TGUI] KeyCombo Input (#25875)

* Fix keybind combinations for actions

* better way

* I am stupid

* Rebuild TGUI

* Rebuild TGUI

* Prettier

* Rebuild TGUI

* Need to finally re-create fork...

* Review change
This commit is contained in:
Aylong
2024-07-11 02:05:32 +00:00
committed by GitHub
parent e3d67c4f7d
commit 157cd7fe88
5 changed files with 283 additions and 4 deletions
+1 -1
View File
@@ -169,7 +169,7 @@
.["bg_state_active"] = "template_active"
/atom/movable/screen/movable/action_button/proc/set_to_keybind(mob/user)
var/keybind_to_set_to = uppertext(input(user, "What keybind do you want to set this action button to?") as text)
var/keybind_to_set_to = tgui_input_keycombo(user, "What keybind do you want to set this action button to?")
if(keybind_to_set_to)
if(linked_keybind)
clean_up_keybinds(user)