-
Notifications
You must be signed in to change notification settings - Fork 23
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
GUI opens, but wont respond to any mouse events #12
Comments
Could you describe your problem more precisely?
|
Version i am using is 1.16.5, I just followed the general instructions in the readme. this is the whole gui class:
I can imagine some of the values I return like the scroll speed to affect this, since I did not have any true references for these. |
Closed by accident, ouch |
How do you open the GUI, do you call the |
Yes,
|
This is probably not related to the problem, but you should instantiate ClickGUI only once and not every time you open it. Could you add following to the ClickGUI class and tell me if this print statement shows up when you click, to troubleshoot it?
|
Ah, ok I just noticed the problem: |
still, nothing |
Could you replace this: new DraggableContainer(type.toString(), null, theme.getContainerRenderer(), new SimpleToggleable(true), new SettingsAnimation(ClientConfig.animSpeed), new SimpleToggleable(true), new Point(50, 50), width) {
@Override
public void render (Context context) {
super.render(context);
System.out.println(context.getHeight());
}
} |
I may have found the issue, lets see if this works |
I found the issue. |
Next issue: the categories can somehow be toggled and wont really expand anywhere |
Fixed it, all good now |
This is how it looks, but i cannot interact with it in any way. No dragging, no clicking, no expanding etc.
The text was updated successfully, but these errors were encountered: