Skip to content

Adds mouse filter to bubble #2562

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

Merged
merged 1 commit into from
Apr 10, 2025
Merged

Conversation

tiagojdf
Copy link
Contributor

@tiagojdf tiagojdf commented Apr 9, 2025

By allowing the user to change the mouse filter, the bubble can now be set to ignore to prevent it from capturing events. The original use case for this modification was preventing bubbles of blocking the mouse movement when the mouse was captured on a 3D game.

Original issue: https://discord.com/channels/628713677239091231/1357374714263376035

By allowing the user to change the mouse filter, the bubble can now be
set to ignore to prevent it from capturing events. The original use case
for this modification was preventing bubbles of blocking the mouse
movement when the mouse was captured on a 3D game.
@tiagojdf
Copy link
Contributor Author

tiagojdf commented Apr 9, 2025

Here is the test scene I used to develop the feature. To test it, run the scene and move the mouse around until the bubble is around the center area of the camera. The mouse movement eventually blocks.
Close the running game, change the property in the Bubble styles, behavior, mouse filter to Ignore. Rerun the scene and this around the mouse no longer gets stuck
test-scenes.zip

@Jowan-Spooner
Copy link
Member

Thanks, tested and works fine!

@Jowan-Spooner Jowan-Spooner merged commit 628e6ba into dialogic-godot:main Apr 10, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants