-
-
Notifications
You must be signed in to change notification settings - Fork 446
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
Add functions to set in game Cursor Color for client #3558
base: master
Are you sure you want to change the base?
Conversation
Will the colors be reset after a disconnect? |
I will try to put the function within onClientPlayerQuit event |
There is the special place for it: |
…efresh i setCursorAlpha(150) when you open up the F8 and start the resource it won't refresh the image due to a check if F8 console is open it or not
@tederis here is my test |
I don't think it should be possible to set this for pause menu since it could be abused to hide cursor. |
now fixed |
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.
reset cursor via setCursorColor()
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.
Can you make please range (0-255) also for alpha color?
I will rewrite it soon |
Ok, good :D |
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.
👏
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.
In some skins, even the default ones, the cursor isn't white, so using a white cursor would either look out of place or be completely irrelevant
I test it with others themes it works normally |
Would it be possible to reset the color to the color set by the current theme? |
add new client functions
part of #3555