diff --git a/assets/icons/dc-appearance.svg b/assets/icons/dc-appearance.svg index 12054b4e5..41ba9d735 100644 --- a/assets/icons/dc-appearance.svg +++ b/assets/icons/dc-appearance.svg @@ -1 +1 @@ - + diff --git a/crates/ui-egui/src/icons.rs b/crates/ui-egui/src/icons.rs index 551aaf811..52476db6f 100644 --- a/crates/ui-egui/src/icons.rs +++ b/crates/ui-egui/src/icons.rs @@ -177,6 +177,16 @@ mod tests { } } + /// Appearance (effects) and Pathfinder both lived in the icon column; they used the same + /// overlapping-squares motif (storytold/vectorcraft#2681). + #[test] + fn appearance_panel_icon_is_not_the_pathfinder_icon() { + let appearance = String::from_utf8_lossy(include_bytes!("../../../assets/icons/dc-appearance.svg")); + let pathfinder = String::from_utf8_lossy(include_bytes!("../../../assets/icons/dc-pathfinder.svg")); + assert_ne!(appearance.as_bytes(), pathfinder.as_bytes()); + assert!(appearance.contains("