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

Move Insert #248

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Move Insert #248

wants to merge 5 commits into from

Conversation

GameGeek720
Copy link
Contributor

Added the ability to set an arbitrary index for Move Menu Item rather than always moving it to the end

}
}

public bool Move(string from, string to, int index) {
Copy link

Choose a reason for hiding this comment

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

Default this to -1 please.

@@ -64,7 +64,31 @@ public class MenuManager {
return true;
}

public bool Move(string from, string to) {
public void Insert(VRCExpressionsMenu menu, VRCExpressionsMenu.Control item, int index) {
Copy link

Choose a reason for hiding this comment

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

Same here.

Comment on lines +19 to +25

var adv = new Foldout {
text = "Advanced Options",
value = false
};
content.Add(adv);

Copy link

Choose a reason for hiding this comment

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

I feel like it does not need to be listed under "Advanced Options" as it could be seen to be trivial to allow it and not really too Advanced.

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.

None yet

2 participants