gpui: Make image example work regardless of how it is run (#24645)

This PR updates the GPUI `image` example such that it works when run in
the following ways:

- `cargo run -p gpui --example image` from the repository root
- `cargo run --example image` from within `crates/gpui`

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-02-11 08:34:38 -05:00 committed by GitHub
parent 6a40a400bd
commit 04d65cb3cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 9 deletions

1
Cargo.lock generated
View file

@ -5546,6 +5546,7 @@ dependencies = [
"rand 0.8.5",
"raw-window-handle",
"refineable",
"reqwest_client",
"resvg",
"schemars",
"seahash",