feat: add size and box alpha for held buttons#631
Merged
Samillion merged 4 commits intoSamillion:mainfrom Apr 4, 2026
Merged
Conversation
Owner
|
Thank you very much. My only note is the way alpha will be set by users, at least 90% of users will not know what that value means or what it should be. Would my opacity convert function from pause indicator help you here? so that it would be a 0-100 value instead. ModernZ/extras/pause-indicator-lite/pause_indicator_lite.lua Lines 95 to 99 in 79fbbfb |
Contributor
Author
|
That's a great idea. I've added it to the PR now. |
Samillion
reviewed
Apr 4, 2026
Co-authored-by: Sam <17427046+Samillion@users.noreply.github.com>
Owner
Contributor
Author
|
It's good to go. Still it's an accomplishment how much code you got cleaned up. I'll try to help anyways. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Added:
button_held_size- sets the scale of a button when held/pressed, independent of button_hover_size. Previously, holding a button always reset the scale back to 100%.button_held_box_alpha- sets the transparency of the hover background box when a button is held down. Defaults to 0xCC (~80% transparent), brighter than the standard hover box at 0xE6 (~90% transparent).