ZeroK-RTS / Zero-K

Open source RTS game running on the Spring/Recoil engine
https://zero-k.info
GNU General Public License v2.0
687 stars 205 forks source link

`gui_group_recall_fix.lua` is now redundant #5159

Open sprunk opened 9 months ago

sprunk commented 9 months ago

Here's a set of actions:

As far as I can tell the gui_group_recall_fix.lua widget is what implements this, and without the widget it would focus the group when pressing the button. If this is the case then the behaviour can be implemented via engine keybinds since selection and focus are now split and can be bound separately to single-tap and double-tap:

bind 1 group select 1
bind 1,1 group focus 1
GoogleFrog commented 9 months ago

How new is double tap binding? It's very slightly scary, do we need to do anything for it?

sprunk commented 9 months ago