]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Run actions on press (#31191)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sun, 25 Aug 2024 12:36:22 +0000 (22:36 +1000)
committerGitHub <noreply@github.com>
Sun, 25 Aug 2024 12:36:22 +0000 (22:36 +1000)
commit948bb726de503f28521dd358a353515cb21255cf
tree7fce43889e0953b3da70cb6f8f97ea4864a164e0
parentc0a07614c088b64303af8fe13686aa0134ed50b8
Run actions on press (#31191)

I know UI generallys want to do stuff on key-up not key-down. With that being said the delay on release for these is noticeable.
e.g.
ActivateInWorld / UseInHand / any in-world interactions are on-press. This is especially noticeable if you have the same event on action + verb.
Content.Client/UserInterface/Systems/Actions/ActionUIController.cs