-
Notifications
You must be signed in to change notification settings - Fork 50
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
base: main
Are you sure you want to change the base?
Move Insert #248
Conversation
} | ||
} | ||
|
||
public bool Move(string from, string to, int index) { |
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.
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) { |
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.
Same here.
|
||
var adv = new Foldout { | ||
text = "Advanced Options", | ||
value = false | ||
}; | ||
content.Add(adv); | ||
|
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.
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.
Added the ability to set an arbitrary index for Move Menu Item rather than always moving it to the end