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

The problem of the state addition popup menu being created outside the screen in Godot4 YAFSM StateMachine Editor View #57

Open
namuda opened this issue May 12, 2023 · 1 comment

Comments

@namuda
Copy link

namuda commented May 12, 2023

Godot 4.01 gd-YAFSM version 0.6.0 Windows11 dual monitor used:

imjp94.yafsm/scenes/StateMachineEditor.gd file in
314 line context_menu.position = get_viewport().get_mouse_position()
-> context_menu.position = get_screen_transform().origin + get_local_mouse_position()
395 line state_node_context_menu.position = get_viewport().get_mouse_position()
-> state_node_context_menu.position = get_screen_transform().origin + get_local_mouse_position()

@imjp94
Copy link
Owner

imjp94 commented May 31, 2023

PR #54 should fix this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants