Skip to content

Commit 27b9527

Browse files
authored
fix typo in viewport_node example (#21377)
# Objective Fix typo in viewport_node example ## Solution - the comment should point to [widget](https://docs.rs/bevy/latest/bevy/ui/widget/fn.viewport_picking.html) not widgets.
1 parent 8009dd7 commit 27b9527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ui/viewport_node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fn test(
6565
Shape,
6666
))
6767
// We can observe pointer events on our objects as normal, the
68-
// `bevy::ui::widgets::viewport_picking` system will take care of ensuring our viewport
68+
// `bevy::ui::widget::viewport_picking` system will take care of ensuring our viewport
6969
// clicks pass through
7070
.observe(on_drag_cuboid);
7171

0 commit comments

Comments
 (0)