You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: node-graph/graph-craft/src/document/value.rs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -189,19 +189,19 @@ tagged_value! {
189
189
// TABLE TYPES
190
190
// ===========
191
191
GraphicUnused(Graphic),// TODO: This is unused but removing it causes `cargo test` to infinitely recurse its type solving; figure out why and then remove this
192
-
#[cfg_attr(target_family = "wasm",serde(deserialize_with = "graphic_types::migrations::migrate_vector"))]// TODO: Eventually remove this migration document upgrade code
192
+
#[serde(deserialize_with = "graphic_types::migrations::migrate_vector")]// TODO: Eventually remove this migration document upgrade code
193
193
#[serde(alias = "VectorData")]
194
194
Vector(Table<Vector>),
195
-
#[cfg_attr(target_family = "wasm",serde(deserialize_with = "graphic_types::raster_types::image::migrate_image_frame"))]// TODO: Eventually remove this migration document upgrade code
195
+
#[serde(deserialize_with = "graphic_types::raster_types::image::migrate_image_frame")]// TODO: Eventually remove this migration document upgrade code
196
196
#[serde(alias = "ImageFrame", alias = "RasterData", alias = "Image")]
197
197
Raster(Table<Raster<CPU>>),
198
-
#[cfg_attr(target_family = "wasm",serde(deserialize_with = "graphic_types::graphic::migrate_graphic"))]// TODO: Eventually remove this migration document upgrade code
198
+
#[serde(deserialize_with = "graphic_types::graphic::migrate_graphic")]// TODO: Eventually remove this migration document upgrade code
199
199
#[serde(alias = "GraphicGroup", alias = "Group")]
200
200
Graphic(Table<Graphic>),
201
-
#[cfg_attr(target_family = "wasm",serde(deserialize_with = "graphic_types::artboard::migrate_artboard"))]// TODO: Eventually remove this migration document upgrade code
201
+
#[serde(deserialize_with = "graphic_types::artboard::migrate_artboard")]// TODO: Eventually remove this migration document upgrade code
202
202
#[serde(alias = "ArtboardGroup")]
203
203
Artboard(Table<Artboard>),
204
-
#[cfg_attr(target_family = "wasm",serde(deserialize_with = "core_types::misc::migrate_color"))]// TODO: Eventually remove this migration document upgrade code
204
+
#[serde(deserialize_with = "core_types::misc::migrate_color")]// TODO: Eventually remove this migration document upgrade code
205
205
#[serde(alias = "ColorTable", alias = "OptionalColor")]
0 commit comments