Library: the Photo Grid label footer is translucent; pt-br for "Color label cleared" (#308)
#308 painted an opaque label-coloured bar over the bottom 24 px of every labelled photo in Photo Grid, hiding part of the photo, while its docs said the photo pixels stay as they are. The footer is now translucent over the photo and the docs say so. Also adds the one string pt-br lacked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01912WaK6Rmew3wxZuPyX7E8
This commit is contained in:
parent
99fa19099b
commit
a12fabd588
|
|
@ -200,6 +200,7 @@
|
|||
"Color Noise Reduction": "Redução de ruído de cor",
|
||||
"Color Priority": "Prioridade de cor",
|
||||
"Color Range": "Intervalo de cor",
|
||||
"Color label cleared": "Rótulo de cor removido",
|
||||
"Color space": "Espaço de cor",
|
||||
"Color space: sRGB (AVIF)": "Espaço de cor: sRGB (AVIF)",
|
||||
"Combine files…": "Combinar arquivos…",
|
||||
|
|
|
|||
|
|
@ -564,8 +564,9 @@ fn cell(app: &mut LightcraftApp, ui: &mut egui::Ui, id: PhotoId, r: Rect, square
|
|||
};
|
||||
let badge_bar = Rect::from_min_max(pos2(img_rect.left(), img_rect.bottom() - 24.0), img_rect.right_bottom());
|
||||
if !square && photo.label.is_some() {
|
||||
// Justified photos fill the whole cell: reserve the badge footer as coloured chrome.
|
||||
p.rect_filled(badge_bar, 0.0, crate::theme::label_background(t.cell, photo.label, selected));
|
||||
// Justified photos fill the whole cell, so the label shows as a translucent tinted footer
|
||||
// over the photo's bottom edge (opaque, it would hide 24 px of every labelled photo).
|
||||
p.rect_filled(badge_bar, 0.0, crate::theme::label_background(t.cell, photo.label, selected).gamma_multiply(0.7));
|
||||
}
|
||||
if show_badges {
|
||||
let bar = badge_bar;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ culling; it does not delete the original or remove it from the library.
|
|||
Setting a colour label shows the same brief bottom toast as a rating, using the colour or your
|
||||
custom label name. Clearing it shows a confirmation too, whether applied by a key, menu or swatch.
|
||||
Labelled thumbnails have a translucent matching colour on the square-grid surround, photo-grid
|
||||
footer and Detail filmstrip surround. The photo pixels and white active-photo outline remain clear.
|
||||
footer (translucent, over the bottom of the photo) and Detail filmstrip surround. The white active-photo outline remains clear.
|
||||
The label confirmation uses a pale matching background with dark text; ratings and errors retain
|
||||
their neutral HUD styling. Custom names use the underlying label's colour.
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
## October 2026
|
||||
|
||||
### Library keyboard culling
|
||||
- Colour labels tint thumbnail surrounds in Square Grid and the Detail filmstrip, and the footer in Photo Grid. Label confirmations use a matching pale colour; the photo pixels retain their original appearance.
|
||||
- Colour labels tint thumbnail surrounds in Square Grid and the Detail filmstrip, and a translucent footer along the bottom of the photo in Photo Grid. Label confirmations use a matching pale colour.
|
||||
- Setting or clearing a colour label shows a brief bottom confirmation, like rating a photo; custom label names appear in the message too.
|
||||
- On macOS, ratings `0–5`, labels `6–9` and pick/unflag `P/U` now reach the app even when shown in the native menu (issue #283; adapted from PR #261).
|
||||
- `Shift+6–9` labels and advances. `Shift+P` picks and advances in Photo Grid and Square Grid; it opens Presets in other views. With Auto Advance on, Shift still moves only once.
|
||||
|
|
|
|||
Loading…
Reference in New Issue