Skip to content
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

fix: refactor compass ticks #100

Merged
merged 1 commit into from
Sep 24, 2023
Merged

fix: refactor compass ticks #100

merged 1 commit into from
Sep 24, 2023

Conversation

PeenScreeker
Copy link
Member

@PeenScreeker PeenScreeker commented Sep 16, 2023

Closes momentum-mod/game/issues/2100

This pull request changes the behavior of the compass HUD element to match the most recent version of the defrag pitch helper.

Previously, compass ticks were created as left and right borders of a panel. Now ticks are individual panels with fixed width. This prevents border properties from misbehaving when the color is changed.

Checks

  • I have thoroughly tested all of the code I have modified/added/removed to ensure something else did not break
  • I have followed semantic commit messages e.g. feat: Add foo, chore: Update bar, etc...
  • My branch has a clear history of changes that can be easy to follow when being reviewed commit-by-commit
  • My branch is functionally complete; the only changes to be done will be those potentially requested in code review
  • All changes requested in review have been fixuped into my original commits.
  • Fully tokenized all my strings (no hardcoded English strings!!) and supplied bulk JSON strings below

@PeenScreeker PeenScreeker self-assigned this Sep 16, 2023
@PeenScreeker PeenScreeker force-pushed the fix/compass branch 2 times, most recently from 907bdb1 to dfb7647 Compare September 20, 2023 00:58
@tsa96
Copy link
Member

tsa96 commented Sep 20, 2023

Still lgtm

@Gocnak Gocnak enabled auto-merge (rebase) September 24, 2023 18:47
@Gocnak Gocnak merged commit 3173df2 into master Sep 24, 2023
1 check passed
@Gocnak Gocnak deleted the fix/compass branch September 24, 2023 18:47
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.

Compass ticks grow when highlighted
3 participants