mirror of
https://github.com/julyx10/lap.git
synced 2026-10-02 01:54:57 +08:00
Add a RAW settings tab with orthogonal controls: preview source (embedded first / always render), rendering brightness (original / brightened, #369), and a per-pair display source so RAW+JPEG pairs can prefer the JPEG/HEIC (#331). The policy is carried per request (never stored in global decoder state) through the asset protocol and thumbnail commands, and folded into the thumbnail cache key (mode x brightness) so switching re-renders lazily. The viewer gains a bottom-left RAW button showing the current source that cycles embedded -> rendered -> brightened and switches to the paired JPEG/HEIC; the label updates optimistically on click with a deferred spinner. Editing and export keep the rendered pipeline for pixel parity. Localizes the new strings across all 11 locales and drops the orphaned settings.raw keys left by the earlier single-mode design.