-
Notifications
You must be signed in to change notification settings - Fork 24
LaneSwitch UX #194
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
base: main
Are you sure you want to change the base?
LaneSwitch UX #194
Conversation
+ less opaque + remove gradient
|
A way this could act as a fix for the linked issue is having an optional toggle that disables the interactions entierly. |
|
so by this you mean disable all interactivity for the laneswitches or toggle between the old and new changes? |
|
fully disable clicking and hovering |
flustix
left a comment
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.
Also go over most files and check for style warnings and such. EditorLaneSwitchEvent gives me 26 warnings.
| [JsonProperty("laneswitch_interact")] | ||
| public bool LaneSwitchInteraction { get; set; } | ||
|
|
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.
Set default to true so that old keymaps have the right value.
|
|
||
| public LaneSwitchEvent Event { get; } | ||
|
|
||
| private static Colour4 defaultColor = Colour4.FromHex("#FF5555"); // Theme.LaneSwitch is a different color. |
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.
Theme.Red
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.
also missing readonly
|
Additionally, having the stripes only show up when the animation time is 0 feels a bit wrong. Possibly show them after the gradient fades out? |
Meant to address:
Though if it's considered a fix for this is up to debate. (No linked issue)
Because it seems like an ambiguous issue.
Nlaneswitch.mp4
Changes
that's because now you can only open the point by clicking on the red
I had no plan when recording this.