diff --git a/editor/src/messages/portfolio/spreadsheet/spreadsheet_message_handler.rs b/editor/src/messages/portfolio/spreadsheet/spreadsheet_message_handler.rs index 378c8b1b52..5e28d514b1 100644 --- a/editor/src/messages/portfolio/spreadsheet/spreadsheet_message_handler.rs +++ b/editor/src/messages/portfolio/spreadsheet/spreadsheet_message_handler.rs @@ -299,6 +299,8 @@ impl InstanceLayout for Instances { TextButton::new(instance.instance.identifier()) .on_update(move |_| SpreadsheetMessage::PushToInstancePath { index }.into()) .widget_holder(), + // Add the mask information here. We'll simply display "Yes" or "No". + TextLabel::new(if instance.mask.is_some() { "Yes" } else { "No" }.to_string()).widget_holder(), TextLabel::new(format!( "Location: ({} px, {} px) — Rotation: {rotation:2}° — Scale: ({}x, {}x)", round(translation.x), @@ -313,7 +315,8 @@ impl InstanceLayout for Instances { }) .collect::>(); - rows.insert(0, column_headings(&["", "instance", "transform", "alpha_blending", "source_node_id"])); + // Add "mask" to the column headings + rows.insert(0, column_headings(&["", "instance", "mask", "transform", "alpha_blending", "source_node_id"])); let instances = vec![TextLabel::new("Instances:").widget_holder()]; vec![LayoutGroup::Row { widgets: instances }, LayoutGroup::Table { rows }]