Files
oak-gpui/crates/svg_preview/Cargo.toml
T
Finn Evers 2143c59fba svg_preview: Ensure preview properly updates in follow mode (#38081)
This fixes an issue where we would not update neither the path nor the
editor that was listened to during follow mode, which in turn would
cause the preview to become stale.

Fix here is to update the subscription whenever the active item changes
and also update the associated path accordingly.


Release Notes:

- Fixed an issue where the SVG preview would not update when following
the active editor.
2025-09-12 18:08:21 +00:00

22 lines
388 B
TOML

[package]
name = "svg_preview"
version = "0.1.0"
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"
[lints]
workspace = true
[lib]
path = "src/svg_preview.rs"
[dependencies]
editor.workspace = true
file_icons.workspace = true
gpui.workspace = true
multi_buffer.workspace = true
ui.workspace = true
workspace.workspace = true
workspace-hack.workspace = true