Skip to content

Customize the step limit of the credits indicator and disable the credits indicator smooth transition#2279

Merged
DeathFishAtEase merged 4 commits into
Phobos-developers:developfrom
DeathFishAtEase:143
Jul 3, 2026
Merged

Customize the step limit of the credits indicator and disable the credits indicator smooth transition#2279
DeathFishAtEase merged 4 commits into
Phobos-developers:developfrom
DeathFishAtEase:143

Conversation

@DeathFishAtEase

@DeathFishAtEase DeathFishAtEase commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator
  • In vanilla, the Credits Indicator in the sidebar increases by at most 143 points per frame, and now you can customize this limit.
    • If set to a value less than or equal to 0, the upper limit will be removed.

In uimd.ini:

[Sidebar]
CreditsIndicator.MaxStep=143  ; integer
  • In vanilla, the Credits Indicator has a smooth transition effect when the displayed credit value approaches the actual credit value. Now you can disable this effect, allowing the change step to always follow the value of CreditsIndicator.MaxStep.

In uimd.ini:

[Sidebar]
CreditsIndicator.Smooth=true  ; boolean

Tip

For example, if you want to make the credits update immediately without a transition process by setting CreditsIndicator.MaxStep=0, then you should also set CreditsIndicator.Smooth=false; otherwise, the displayed credit value will still change in the form of an exponential approximation function.

@DeathFishAtEase DeathFishAtEase requested a review from TaranDahl July 1, 2026 14:00
@DeathFishAtEase DeathFishAtEase self-assigned this Jul 1, 2026
@DeathFishAtEase DeathFishAtEase added Tested ⚙️T1 T1 maintainer review is sufficient ❓Unhardcoding / Customization Make something more tweakable labels Jul 1, 2026
@phoboscn-bot

Copy link
Copy Markdown

To Chinese users:
This pull request has been mentioned on Phobos CN. There might be relevant details there:

致中文用户:
此拉取请求已在 Phobos CN 上被提及。那里可能有相关详细信息:

https://www.phoboscn.top/t/topic/607/1

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

Comment thread docs/User-Interface.md Outdated
@DeathFishAtEase DeathFishAtEase changed the title Customize the step limit of the credits indicator Customize the step limit of the credits indicator and disable the credits indicator smooth transition Jul 1, 2026
@DeathFishAtEase DeathFishAtEase force-pushed the 143 branch 3 times, most recently from 9208d01 to 701c82a Compare July 2, 2026 00:13
@DeathFishAtEase DeathFishAtEase added the Will be merged in 24h This PR will be merged in 24 hours if no one has further instructions. label Jul 2, 2026
@DeathFishAtEase DeathFishAtEase merged commit 8e7404e into Phobos-developers:develop Jul 3, 2026
7 checks passed
@DeathFishAtEase DeathFishAtEase deleted the 143 branch July 3, 2026 13:45
DeathFishAtEase added a commit to DeathFishAtEase/Phobos that referenced this pull request Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚙️T1 T1 maintainer review is sufficient Tested ❓Unhardcoding / Customization Make something more tweakable Will be merged in 24h This PR will be merged in 24 hours if no one has further instructions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants