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

[BUG] windowed mode #68

Open
yuriassaf1337 opened this issue May 21, 2020 · 2 comments
Open

[BUG] windowed mode #68

yuriassaf1337 opened this issue May 21, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@yuriassaf1337
Copy link

menu input works completely fine on fullscreen, but not in windowed mode.

calling in painttraverse:

auto panel_to_draw = fnv::hash(interfaces::panel->get_panel_name(panel));

switch (panel_to_draw) {
case fnv::hash("MatSystemTopPanel"):
	g_Menu.Render();
	break;

case fnv::hash("FocusOverlayPanel"):
	interfaces::panel->set_keyboard_input_enabled(panel, g_Menu.menuOpened);
	interfaces::panel->set_mouse_input_enabled(panel, g_Menu.menuOpened);
	break;
}

any help?

@yuriassaf1337 yuriassaf1337 added the bug Something isn't working label May 21, 2020
@otvv
Copy link

otvv commented May 22, 2020

I don't think ZGUI has anything to do with your problem.
Seems like an issue with these 2 input functions. Try removing them?

@yuriassaf1337
Copy link
Author

i have fixed it already, thx
i was dumb and put "csgo.exe" in poll_input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants