-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add back "edit" context menu item on set panel headers #34380
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
Conversation
Not sure how I feel about this. If it seems incorrect let's just not. As proposed in ppy#34119.
15c9160 to
91f01ea
Compare
| if (!Expanded.Value) | ||
| if (Expanded.Value) | ||
| { | ||
| if (songSelect is SoloSongSelect soloSongSelect) |
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.
The idea of this diff makes sense and I can't seem to break it on a quick check but I have very mixed feelings about this type of cast. We have ISongSelect which nicely abstracts this type of thing for all of the other panels and now here's this sort of stuff.
Thoughts on having a ISongSelect.GetForwardActions(BeatmapSetInfo) overload?
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.
We could do that. The only caveat is it couldn't be used in the other location I abstracted the beatmap version for (the footer menu) because that would mean the edit option would appear twice.
bdach
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.
let's go with this as is for now then I guess
Not sure how I feel about this. If it seems incorrect let's just not.
As proposed in #34119.