Skip to content

[BUG] windowed mode #68

Open
Open
@yuriassaf1337

Description

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?

Activity

otvv

otvv commented on May 22, 2020

@otvv

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

yuriassaf1337 commented on May 24, 2020

@yuriassaf1337
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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      [BUG] windowed mode · Issue #68 · zxvnme/zgui