mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Fix the Eyedropper tool on web with Vello and on desktop with SVG (#3886)
This commit is contained in:
@@ -309,6 +309,10 @@ impl NodeRuntime {
|
||||
self.sender.send_eyedropper_preview(raster_cpu);
|
||||
continue;
|
||||
}
|
||||
// Eyedropper render that didn't produce a texture (e.g., SVG fallback when GPU is unavailable); discard it
|
||||
_ if render_config.for_eyedropper => {
|
||||
continue;
|
||||
}
|
||||
#[cfg(all(target_family = "wasm", feature = "gpu"))]
|
||||
Ok(TaggedValue::RenderOutput(RenderOutput {
|
||||
data: RenderOutputType::Texture(image_texture),
|
||||
|
||||
Reference in New Issue
Block a user