mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-01 05:57:09 -06:00
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:
co-authored by
Claude Opus 5.5
parent
4f31cc5c3c
commit
58fac428ce
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user