Skip to content

gui/quickfort: change transform hotkeys to ,.[] - #1627

Open
Alistair-Afton wants to merge 1 commit into
DFHack:masterfrom
Alistair-Afton:quickfort-transform-keys
Open

Alistair-Afton wants to merge 1 commit into
DFHack:masterfrom
Alistair-Afton:quickfort-transform-keys

Conversation

@Alistair-Afton

Copy link
Copy Markdown

Summary

Fixes DFHack/dfhack#5710

In the DF font, ( and ) are nearly indistinguishable from < and >, so the transform hotkey labels in gui/quickfort looked wrong even though they were accurate. The rotate keys are now ,/. (the unshifted <> keys) and the flip keys are [/] — all unambiguous in the font.

Also updated the transform_widgets test in test/gui/quickfort.lua, which referenced stale A_MOVE_* keys that no longer drive these widgets, to use the actual current bindings.

Test plan

  • Verified live in a fort: enabled Transform with t, pressed ,/./[/] — the transform list accumulated ccw, cw, flipv, fliph (with correct reduction: ccw+cw -> identity, flipv+fliph+ccw -> cw), and the panel labels now render ,.[] instead of ()_=
  • Old keys ( ) _ = no longer trigger transforms
  • No binding conflicts within the screen

In the game font, () is easily mistaken for <>, which made the
displayed rotate keys look wrong. Use ,. for rotate and [] for flips,
which are unambiguous. Update the stale transform_widgets test keys to
match.

Fixes DFHack/dfhack#5710
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blueprint Transformation Keys Displaying Wrong

1 participant