-
Notifications
You must be signed in to change notification settings - Fork 121
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
Improved optionsmenu #240
Improved optionsmenu #240
Conversation
@@ -705,6 +705,7 @@ public void mouseWheelMoved(int newValue) { | |||
|
|||
@Override | |||
public void keyPressed(int key, char c) { | |||
UI.getNotificationManager().sendNotification("ayyyy lmao", Colors.GREEN); |
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.
?
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.
Whoops, thought I removed it >.< was added it to test the bubble notifs, didn't mean to commit it.
Awesome, thanks! Visually, this looks fantastic. :) Comments (sorry, there's a lot XD):
|
Replies (also alot :p)
And I might've removed some comments in certain methods because I rewrote some large parts and just pasted it over the existing code, so I apologize if that happend. |
I've changed it so it uses the existing Edit: |
EDIT: figured it out, never mind. Great, thanks for fixing all of that so quickly. Last question: I'm can't understand why this line works or where the numbers are coming from, can you explain? (
Purpose: I don't like the huge empty space at the bottom of the menu (is it intentional?), which is fixed by starting with |
- Mostly style/naming changes and some refactoring. - Reinitialize the dropdown menu selected item on activate() since some options can change outside of the menu. - Fixed non-relative coordinates being used. Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
That was because osu! does it too, but 1/4th of the height might've been more representative than 2/3 http://pokit.org/get/img/c7d9efc0797dbdc11250f22b30cecedf.jpg |
Ah, didn't notice that before. Well, got rid of it anyway since I don't like it. xD |
Some enchancements to more look like the optionsmenu in osu!