Skip to content

Commit 62619b0

Browse files
ickshonpeBD103
authored andcommitted
box shadows comment fix (#16729)
# Objective Fix this comment in `extract_shadows`: ``` // Skip invisible images ``` Should be shadows, not images.
1 parent aeaafba commit 62619b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_ui/src/render/box_shadow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ pub fn extract_shadows(
262262
continue;
263263
};
264264

265-
// Skip invisible images
265+
// Skip if no visible shadows
266266
if !view_visibility.get() || box_shadow.is_empty() || uinode.is_empty() {
267267
continue;
268268
}

0 commit comments

Comments
 (0)