Skip to content

Commit 404c4e5

Browse files
committed
Code review
1 parent 155320e commit 404c4e5

6 files changed

Lines changed: 161 additions & 195 deletions

File tree

editor/src/messages/portfolio/document_migration.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ const NODE_REPLACEMENTS: &[NodeReplacement<'static>] = &[
338338
node: graphene_std::raster_nodes::gradient_map::gradient_map::IDENTIFIER,
339339
aliases: &[
340340
"graphene_raster_nodes::gradient_map::GradientMapNode",
341+
"graphene_raster_nodes::adjustments::GradientMapNode",
341342
"graphene_core::raster::adjustments::GradientMapNode",
342343
"graphene_core::raster::GradientMapNode",
343344
],

editor/src/messages/tool/common_functionality/gizmos/gizmo_manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ impl GizmoManager {
151151
if graph_modification_utils::get_star_id(layer, &document.network_interface).is_some() {
152152
return Some(ShapeGizmoHandlers::Star(StarGizmoHandler::default()));
153153
}
154-
155154
// Polygon
156155
if graph_modification_utils::get_polygon_id(layer, &document.network_interface).is_some() {
157156
return Some(ShapeGizmoHandlers::Polygon(PolygonGizmoHandler::default()));
158157
}
158+
// Arc
159159
if graph_modification_utils::get_arc_id(layer, &document.network_interface).is_some() {
160160
return Some(ShapeGizmoHandlers::Arc(ArcGizmoHandler::new()));
161161
}

0 commit comments

Comments
 (0)