Skip to content

Set MOUSE_FILTER_IGNORE for blocks where necessary#129

Merged
dbnicholson merged 1 commit intomainfrom
fix-overlapping-blocks
Jul 13, 2024
Merged

Set MOUSE_FILTER_IGNORE for blocks where necessary#129
dbnicholson merged 1 commit intomainfrom
fix-overlapping-blocks

Conversation

@dylanmccall
Copy link
Copy Markdown
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
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -1152.0
offset_bottom = -648.0
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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? 🤷

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
Copy Markdown
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.


[node name="SnapPoint" parent="VBoxContainer" instance=ExtResource("3_5vaov")]
layout_mode = 2
block_path = NodePath("../..")
Copy link
Copy Markdown
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
Copy Markdown
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
@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