fix: Add GlobalTransform to Context Menu to fix clicking through the

menu
This commit is contained in:
demenik
2025-12-01 17:51:33 +01:00
parent c567872254
commit 73382c25a9

View File

@@ -50,6 +50,7 @@ pub fn spawn_context_menu(
BackgroundColor(Color::srgb(0.1, 0.1, 0.1)),
BorderRadius::all(px(5)),
RootMarker::ContextMenu,
GlobalTransform::default(),
))
.with_children(|parent| {
parent.spawn(button(