1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 13:50:04 -04:00

Make individual egui_extras image loaders public (#7551)

This was initially a PR to add kitdiff, but this now lives in it's own
crate: https://github.com/rerun-io/kitdiff

I needed to make the image loaders public, this way it's possible to
compose image loaders together (which allowed me to create a image diff
loader that uses two other image loaders). But you can't use the
`ctx.try_load_image` since that would deadlock, so you have to store a
reference to the other loader in the wrapping loader.
This commit is contained in:
Lucas Meurer
2025-09-23 10:07:18 +02:00
committed by GitHub
parent c97c065a57
commit 9150b9342d
4 changed files with 20 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ pub mod syntax_highlighting;
#[doc(hidden)]
pub mod image;
mod layout;
mod loaders;
pub mod loaders;
mod sizing;
mod strip;
mod table;