Skip to content

Set MOUSE_FILTER_IGNORE for blocks where necessary #129

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
Jul 13, 2024

Conversation

dylanmccall
Copy link
Contributor

@dylanmccall dylanmccall commented Jul 12, 2024

Certain components inside our Block scenes were consuming input events, making it difficult to interact with other blocks positioned around them.

@dylanmccall dylanmccall force-pushed the fix-overlapping-blocks branch from 5158934 to 97dc618 Compare July 12, 2024 16:26
@@ -6,10 +6,9 @@
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -1152.0
offset_bottom = -648.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems unrelated. Is it intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, not intentional. Not sure what that's about - it doesn't really look right - but no reason to change it here. I removed that change now :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's something that was set in the scene at some point but actually had no effect? 🤷

@@ -32,7 +34,6 @@ layout_mode = 2
mouse_filter = 1
script = ExtResource("2_lctqt")
color = Color(1, 1, 1, 1)
outline_color = Color(0.8, 0.8, 0.8, 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack. I should have resaved this scene when removing the outline_color property in cc307af.

@@ -54,6 +55,5 @@ theme_override_constants/separation = 0

[node name="SnapPoint" parent="VBoxContainer" instance=ExtResource("3_5vaov")]
layout_mode = 2
block_path = NodePath("../..")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack. The block_path removal is from f91ac7e.

Copy link
Member

@dbnicholson dbnicholson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I trust this is a good thing to do, but I don't understand why the SnapPoint offset was removed.

@dylanmccall dylanmccall force-pushed the fix-overlapping-blocks branch from 97dc618 to 91fe4ed Compare July 12, 2024 21:43
Certain components inside our Block scenes were consuming input events,
making it difficult to interact with other blocks positioned around
them.
@dylanmccall dylanmccall force-pushed the fix-overlapping-blocks branch from 91fe4ed to e178d97 Compare July 12, 2024 21:47
@dbnicholson dbnicholson merged commit 296613e into main Jul 13, 2024
2 checks passed
@dbnicholson dbnicholson deleted the fix-overlapping-blocks branch July 13, 2024 01:58
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

Successfully merging this pull request may close these issues.

2 participants