Opened 7 years ago

Closed 7 years ago

#4534 closed defect (fixed)

[PATCH] Make tab actually toggle status bars

Reported by: causative Owned by:
Priority: Nice to Have Milestone: Alpha 22
Component: UI & Simulation Keywords: patch
Cc: Patch:

Description

from default.cfg:

session.showstatusbars = Tab ; Toggle display of status bars

The current behavior of session.showstatusbars is to show them only as long as the key (by default, tab) is held down. This is not toggling. Toggling would be, if you press tab and the status bars are shown, they would be hidden, and if you press tab and the status bars are hidden, they would be shown.

Actual toggling would also be more useful than the current behavior, because it would let you see status bars for a while. For instance, that would be useful while selecting injured units for healing or retreat, or during a fight to target injured enemies. Selecting injured units in particular is difficult with the current behavior because you have to awkwardly hold down tab and shift at the same time while using the mouse.

Attachments (1)

togglestatusbars.diff (549 bytes ) - added by causative 7 years ago.

Download all attachments as: .zip

Change History (2)

by causative, 7 years ago

Attachment: togglestatusbars.diff added

comment:1 by elexis, 7 years ago

Keywords: review removed
Milestone: BacklogAlpha 22
Priority: Should HaveNice to Have
Resolution: fixed
Status: newclosed

In r19658:

Actually toggle the status bars when pressing the tab hotkey (instead of showing them for duration the key is pressed), so that less user input is required to use the feature.
Recalculate the entities on screen less often than each keyboard or GUI tick event.

Differential Revision: ​https://code.wildfiregames.com/D537
Patch By: causative

Note: See TracTickets for help on using tickets.