Ticket #805 (closed enhancement: fixed)
[PATCH] Support double-click on unit group buttons
|Reported by:||Philip||Owned by:|
|Priority:||Should Have||Milestone:||Alpha 6|
|Component:||Core engine||Keywords:||simple, review|
When you assign unit groups (with ctrl+1 etc) it shows a little numbered button at the side of the screen. Double-clicking the button should have the same effect as double-pressing the digit key (i.e. move the camera to the units).
This probably needs some changes to the GUI engine, particularly IGUIButtonBehavior::HandleMessage to detect double-clicks and send a different message type (GUIM_DOUBLE_PRESSED, script event doublepress or something, probably in addition to the standard press event (since some other buttons want to treat it like two separate presses)), then updateGroups in mods/public/gui/session/session.js should set button.ondoublepress appropriately.
- Summary changed from Support double-click on unit group buttons to [PATCH] Support double-click on unit group buttons
- Status changed from new to closed
- Resolution set to fixed