LR-VIEW-PHOTOGRID: the loading slab uses the skeleton token #2077 adds

whose picture is still being made; this PR had added `placeholder` for
the same slab. Both now add the same token, with the same name, doc and
colours, so the two merge into one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Nathaniel Ledford
2026-10-28 09:18:32 -04:00
co-authored by Claude Opus 5.5
parent 4f31cc5c3c
commit 58fac428ce
+1 -1
View File
@@ -286,7 +286,7 @@ fn photo_tile(app: &mut LightcraftApp, ui: &mut egui::Ui, id: PhotoId, slot: Slo
display = super::detail::fit_rect(img_area, texture_aspect, zoom, native, ppp, app.ui.pan);
p.image(tex.tex.id(), display, uv, Color32::WHITE);
} else {
p.rect_filled(img.intersect(img_area), 0.0, t.placeholder);
p.rect_filled(img.intersect(img_area), 0.0, t.skeleton);
}
if photo.flag == Flag::Reject {
p.rect_filled(display, 0.0, Color32::from_black_alpha(110));