-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compact aim window pt.2 - Numbers #40236
Conversation
Compact aim window pt2 for numbers display, adapt existing code from old branch
This is a new behavior for almost all layouts, you can check function |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Summary
SUMMARY: Interface "Compact aim window pt.2 - Numbers"
Purpose of change
Part 2 of #37715 in which the aim window automatically decreases in width (from 55 to 34) when using "compact" and "labels-narrow" sidebars. This part handles the "Numbers" accuracy display style.
Describe the solution
Remake the "Numbers" accuracy display style to better fit into the narrow aim window. Aim confidence, percentages and moves are displayed as a table. A new function
insert_table
is created to handle this display.Describe alternatives you've considered
None.
Testing
Compile and launch game
Test aiming on an NPC and an enemy using bars and numbers accuracy display, with narrow and standard sidebar width. Tested on maximized and minimal terminal size.
Additional context
Below is a comparison of how the "Numbers" display looks normally, then how it looks under a narrow sidebar style.