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

Add support for CursorTrailRotate skin command #31519

Merged
merged 5 commits into from
Jan 16, 2025

Conversation

EVAST9919
Copy link
Contributor

protected override void LoadComplete()
{
base.LoadComplete();
loadCompleteTime = Parent!.Clock.CurrentTime; // using parent's clock since our is overridden
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dunno about this... And the Source.Parent lookup in the DrawNode too. If you just want to synchronise the rotation, can't there be some component orchestrating something along the lines of CursorTrail.PartRotation = Cursor.Rotation in an Update() somewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, looks much more robust now 😅

@EVAST9919
Copy link
Contributor Author

Not sure about these CodeFactor issues. Like does it want me to add parenthesis in mentioned places?

@smoogipoo
Copy link
Contributor

It's fine to ignore those CodeFactor issues, makes sense as it is.

@smoogipoo smoogipoo self-requested a review January 16, 2025 04:35
@pull-request-size pull-request-size bot added size/L and removed size/M labels Jan 16, 2025
Copy link
Contributor

@smoogipoo smoogipoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one - lgtm

@smoogipoo smoogipoo merged commit 471180d into ppy:master Jan 16, 2025
6 of 9 checks passed
@EVAST9919 EVAST9919 deleted the trail-rotate branch January 16, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"CursorTrailRotate" does not work even if enabled in skin.ini
3 participants