Skip to content

Conversation

@JoyfulShush
Copy link
Contributor

@JoyfulShush JoyfulShush commented Nov 5, 2025

When holding shift, skips the dialog window and instead immediately places the next free waypoint with the default color (none, which default to purple) last picked color.

Respects used, available and max waypoints and shows the appropriate messages using the same flow as with the existing flow.

@JoyfulShush JoyfulShush changed the title Add the ability to place waypoints immediately on position with shift Add the ability to place waypoints immediately on position when holding Shift Nov 5, 2025
@Rampastring
Copy link
Member

Rampastring commented Nov 8, 2025

Would it be better to use the last-used color instead of using the default color?

@JoyfulShush
Copy link
Contributor Author

Turns out that it already does that. Makes sense, since the window is only initialized once and it remembers the value of the color that was last picked by the user. I'll update the description to match.

Copy link
Member

@Rampastring Rampastring left a comment

Choose a reason for hiding this comment

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

Looks good aside from having an useless state variable in PlaceWaypointCursorAction.

@Rampastring Rampastring merged commit faf34c6 into CnCNet:master Nov 17, 2025
1 check passed
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.

2 participants