box shadows comment fix (#16729)

# Objective

Fix this comment in `extract_shadows`:
```
        // Skip invisible images
```
Should be shadows, not images.
This commit is contained in:
ickshonpe 2024-12-10 03:33:58 +00:00 committed by GitHub
parent 99b6f1d330
commit d6ebc0ed4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -262,7 +262,7 @@ pub fn extract_shadows(
continue;
};
// Skip invisible images
// Skip if no visible shadows
if !view_visibility.get() || box_shadow.is_empty() || uinode.is_empty() {
continue;
}