mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 23:58:03 +00:00
Swatches: New Swatch and Delete Swatch drops carry hidden selected swatches and go by the release
A selected swatch dragged onto New Swatch or Delete Swatch now carries every selected swatch of its kind, also those the find field or the kind filter hides, as a click on Delete Swatch does. Both buttons take the drop from the first pointer button released in the frame and from where it was released: a secondary release ends the drag even when the primary release follows in the same frame, a release on the button counts when the pointer leaves it later in the frame, and a release beside the button, or on the button while another window covers it, does not count.
This commit is contained in:
@@ -119,31 +119,55 @@ fn dragged_deletable(app: &VectorcraftApp, ctx: &egui::Context) -> Vec<String> {
|
||||
}
|
||||
|
||||
/// The names of the swatches or color groups of the active document being dragged from the list,
|
||||
/// in panel order. Empty for any other drag, and for a drag started in another document.
|
||||
/// in panel order. A row that is part of the panel's selection carries every selected row of its
|
||||
/// kind (swatches or color groups), also those that the find field or the kind filter hides, as a
|
||||
/// click on the button takes the whole selection. Empty for any other drag, and for a drag started
|
||||
/// in another document.
|
||||
fn dragged_rows(app: &VectorcraftApp, ctx: &egui::Context) -> Vec<String> {
|
||||
let Some(st) = app.session.active() else { return vec![] };
|
||||
if pstate::<Option<u64>>(ctx, DRAG_DOC) != Some(st.uid) {
|
||||
return vec![];
|
||||
}
|
||||
match egui::DragAndDrop::payload::<PanelDrag>(ctx).as_deref() {
|
||||
Some(PanelDrag::Paint { rows: Some(r), .. }) => r.names.clone(),
|
||||
_ => vec![],
|
||||
let Some(drag) = egui::DragAndDrop::payload::<PanelDrag>(ctx) else { return vec![] };
|
||||
let PanelDrag::Paint { rows: Some(r), .. } = &*drag else { return vec![] };
|
||||
let sel: Vec<String> = pstate(ctx, "swatch-selected");
|
||||
if !sel.contains(&r.grabbed) {
|
||||
return r.names.clone();
|
||||
}
|
||||
super::entries(app, Kind::All, "")
|
||||
.iter()
|
||||
.filter(|e| e.is_folder() == r.groups && sel.iter().any(|s| s == e.name()))
|
||||
.map(|e| e.name().to_string())
|
||||
.collect()
|
||||
}
|
||||
|
||||
/// Whether the first pointer button released this frame is the primary one, released over
|
||||
/// `button` while no other panel or window covers it there. The position of that release counts,
|
||||
/// not where the pointer is at the end of the frame.
|
||||
fn primary_released_on(ui: &Ui, button: &Response) -> bool {
|
||||
let first = ui.input(|i| {
|
||||
i.events.iter().find_map(|e| match e {
|
||||
egui::Event::PointerButton { pos, button: b, pressed: false, .. } => Some((*b, *pos)),
|
||||
_ => None,
|
||||
})
|
||||
});
|
||||
first.is_some_and(|(b, pos)| {
|
||||
b == egui::PointerButton::Primary && button.interact_rect.contains(pos) && ui.ctx().layer_id_at(pos).is_none_or(|l| l == button.layer_id)
|
||||
})
|
||||
}
|
||||
|
||||
/// Swatches or color groups (`names`) dragged onto Delete Swatch (`button`): the button is
|
||||
/// outlined while they are held over it, and the release of the primary button asks to delete them
|
||||
/// as a plain click does ([`delete`]); Alt does not skip the question. The release of another
|
||||
/// button ends the drag, and other drags are left to their own targets.
|
||||
/// outlined while they are held over it, and the release of the primary button on it asks to
|
||||
/// delete them as a plain click does ([`delete`]); Alt does not skip the question. The release of
|
||||
/// another button first ends the drag, and other drags are left to their own targets.
|
||||
fn drop_on_delete(app: &mut VectorcraftApp, ui: &Ui, button: &Response, names: Vec<String>) {
|
||||
if names.is_empty() || button.dnd_hover_payload::<PanelDrag>().is_none() {
|
||||
if names.is_empty() {
|
||||
return;
|
||||
}
|
||||
widgets::drop_target_outline(ui, button.rect);
|
||||
if !ui.input(|i| i.pointer.button_released(egui::PointerButton::Primary)) {
|
||||
return;
|
||||
if button.dnd_hover_payload::<PanelDrag>().is_some() {
|
||||
widgets::drop_target_outline(ui, button.rect);
|
||||
}
|
||||
if button.dnd_release_payload::<PanelDrag>().is_some() {
|
||||
if primary_released_on(ui, button) && egui::DragAndDrop::take_payload::<PanelDrag>(ui.ctx()).is_some() {
|
||||
delete(app, names, false);
|
||||
}
|
||||
}
|
||||
@@ -157,18 +181,17 @@ fn dragged_swatches(app: &VectorcraftApp, ctx: &egui::Context) -> Vec<String> {
|
||||
}
|
||||
|
||||
/// Swatches (`names`) dragged onto New Swatch (`button`): the button is outlined while they are
|
||||
/// held over it, and the release of the primary button duplicates them ([`duplicate`]), whatever
|
||||
/// modifiers are held. The release of another button ends the drag, and other drags are left to
|
||||
/// their own targets.
|
||||
/// held over it, and the release of the primary button on it duplicates them ([`duplicate`]),
|
||||
/// whatever modifiers are held. The release of another button first ends the drag, and other drags
|
||||
/// are left to their own targets.
|
||||
fn drop_on_new(app: &mut VectorcraftApp, ui: &Ui, button: &Response, names: Vec<String>) {
|
||||
if names.is_empty() || button.dnd_hover_payload::<PanelDrag>().is_none() {
|
||||
if names.is_empty() {
|
||||
return;
|
||||
}
|
||||
widgets::drop_target_outline(ui, button.rect);
|
||||
if !ui.input(|i| i.pointer.button_released(egui::PointerButton::Primary)) {
|
||||
return;
|
||||
if button.dnd_hover_payload::<PanelDrag>().is_some() {
|
||||
widgets::drop_target_outline(ui, button.rect);
|
||||
}
|
||||
if button.dnd_release_payload::<PanelDrag>().is_some() {
|
||||
if primary_released_on(ui, button) && egui::DragAndDrop::take_payload::<PanelDrag>(ui.ctx()).is_some() {
|
||||
duplicate(app, ui.ctx(), &names);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1001,6 +1001,125 @@ fn new_swatch_ignores_other_drags() {
|
||||
assert!(app.ui.dialog.is_some(), "a click opens the New Swatch dialog");
|
||||
}
|
||||
|
||||
/// A selected swatch dragged onto New Swatch or Delete Swatch carries the selected swatches that
|
||||
/// the find field hides, as a click on Delete Swatch takes them too. The copies are selected in
|
||||
/// panel order.
|
||||
#[test]
|
||||
fn footer_drops_carry_selected_swatches_that_find_hides() {
|
||||
let mut app = app();
|
||||
let ctx = context();
|
||||
set_pstate(&ctx, "swatch-show-find", true);
|
||||
ctx.data_mut(|d| d.insert_temp(find_id(), "Orange".to_string()));
|
||||
let sel = || ["Lime", "Orange"].map(String::from).to_vec();
|
||||
let order = names_of(&app, None);
|
||||
let at = |n: &str| order.iter().position(|x| x == n).unwrap_or_else(|| panic!("no swatch {n}"));
|
||||
let mut copies = vec![("Lime", "Lime copy"), ("Orange", "Orange copy")];
|
||||
copies.sort_by_key(|(n, _)| at(n));
|
||||
let copies: Vec<&str> = copies.into_iter().map(|(_, c)| c).collect();
|
||||
set_pstate(&ctx, "swatch-selected", sel());
|
||||
let undo = undo_steps(&app);
|
||||
assert_eq!(drag_to_button(&mut app, &ctx, "Orange", "New Swatch", Modifiers::NONE, 1.0), (true, true));
|
||||
let d = app.session.doc().unwrap().doc.clone();
|
||||
assert!(d.swatch("Orange copy").is_some() && d.swatch("Lime copy").is_some(), "the hidden selected swatch is duplicated too");
|
||||
assert_eq!(selected(&ctx), copies, "both copies are selected, in panel order");
|
||||
assert_eq!(undo_steps(&app), undo + 1, "one undo step for both");
|
||||
set_pstate(&ctx, "swatch-selected", sel());
|
||||
assert_eq!(drag_to_trash(&mut app, &ctx, "Orange", Modifiers::NONE, 2.0), (true, true));
|
||||
assert_eq!(dialog_message(&app).as_deref(), Some("Delete these 2 swatches and groups?"), "the hidden selected swatch is deleted too");
|
||||
crate::dialogs::confirm(&mut app).unwrap();
|
||||
let d = app.session.doc().unwrap().doc.clone();
|
||||
assert!(d.swatch("Orange").is_none() && d.swatch("Lime").is_none(), "both are deleted");
|
||||
}
|
||||
|
||||
/// Drag the tile of `name` until it is held over the footer button labeled `label`, a frame per
|
||||
/// step from `time`, and return the button.
|
||||
fn hold_over_button(app: &mut VectorcraftApp, ctx: &egui::Context, name: &str, label: &str, time: f64) -> Rect {
|
||||
frame_out(app, ctx, vec![], Modifiers::NONE, time);
|
||||
let (target, _) = footer_button(&frame_out(app, ctx, vec![], Modifiers::NONE, time + 0.05), label);
|
||||
let from = tile_center(ctx, name);
|
||||
let press = Event::PointerButton { pos: from, button: PointerButton::Primary, pressed: true, modifiers: Modifiers::NONE };
|
||||
frame_out(app, ctx, vec![Event::PointerMoved(from), press], Modifiers::NONE, time + 0.1);
|
||||
frame_out(app, ctx, vec![Event::PointerMoved(from + vec2(6.0, 4.0))], Modifiers::NONE, time + 0.2);
|
||||
frame_out(app, ctx, vec![Event::PointerMoved(target.center())], Modifiers::NONE, time + 0.3);
|
||||
let held = frame_out(app, ctx, vec![Event::PointerMoved(target.center())], Modifiers::NONE, time + 0.4);
|
||||
assert!(outlined(&held, target), "{name} is held over {label}");
|
||||
target
|
||||
}
|
||||
|
||||
/// One frame of the panel with a window drawn over `cover`.
|
||||
fn frame_covered(app: &mut VectorcraftApp, ctx: &egui::Context, events: Vec<Event>, time: f64, cover: Rect) {
|
||||
let screen_rect = Some(Rect::from_min_size(Pos2::ZERO, vec2(280.0, 700.0)));
|
||||
let events = std::iter::once(Event::ModifiersChanged(Modifiers::NONE)).chain(events).collect();
|
||||
let input = egui::RawInput { events, time: Some(time), screen_rect, ..Default::default() };
|
||||
let mut out = ctx.run_ui(input, |ui| {
|
||||
show(app, ui);
|
||||
egui::Area::new(egui::Id::unique("swatch-test-cover")).order(egui::Order::Foreground).fixed_pos(cover.min).show(ui.ctx(), |ui| {
|
||||
ui.allocate_exact_size(cover.size(), Sense::hover());
|
||||
});
|
||||
});
|
||||
out.textures_delta.clear();
|
||||
}
|
||||
|
||||
/// New Swatch and Delete Swatch go by the first button released in a frame and by where it was
|
||||
/// released: a secondary release followed by the primary release in one frame ends the drag
|
||||
/// without a drop, a primary release on the button drops even when the pointer leaves the button
|
||||
/// later in that frame, and a primary release beside the button, or on the button while a window
|
||||
/// covers it, does not drop.
|
||||
#[test]
|
||||
fn footer_drops_go_by_the_first_release_and_where_it_happened() {
|
||||
let mut app = app();
|
||||
let ctx = context();
|
||||
let out = frame_out(&mut app, &ctx, vec![], Modifiers::NONE, 0.0);
|
||||
let (options, group) = (footer_button(&out, "Swatch Options").0, footer_button(&out, "New Color Group").0);
|
||||
let beside = pos2((options.right() + group.left()) / 2.0, group.center().y);
|
||||
let press = |at, button, pressed| Event::PointerButton { pos: at, button, pressed, modifiers: Modifiers::NONE };
|
||||
for (i, label) in ["New Swatch", "Delete Swatch"].into_iter().enumerate() {
|
||||
let t = 10.0 * i as f64;
|
||||
let (before, undo) = (app.session.doc().unwrap().doc.clone(), undo_steps(&app));
|
||||
let unchanged = |app: &VectorcraftApp, case: &str| {
|
||||
assert!(app.ui.dialog.is_none(), "{label}, {case}: no dialog");
|
||||
assert_eq!(app.session.doc().unwrap().doc, before, "{label}, {case}: unchanged");
|
||||
assert_eq!(undo_steps(app), undo, "{label}, {case}: no undo step");
|
||||
};
|
||||
// A secondary release, then the primary release, in one frame.
|
||||
let button = hold_over_button(&mut app, &ctx, "Orange", label, t + 1.0);
|
||||
frame_out(&mut app, &ctx, vec![press(button.center(), PointerButton::Secondary, true)], Modifiers::NONE, t + 1.5);
|
||||
let both = vec![press(button.center(), PointerButton::Secondary, false), press(button.center(), PointerButton::Primary, false)];
|
||||
frame_out(&mut app, &ctx, both, Modifiers::NONE, t + 1.6);
|
||||
// egui counts the secondary press on the button and the primary release as a click on the
|
||||
// button, so New Swatch opens its dialog; the drop itself asks nothing and duplicates nothing.
|
||||
let kind = app.ui.dialog.take().map(|d| d.kind);
|
||||
assert_ne!(kind.as_deref(), Some(crate::dialogs::confirm::KIND), "{label}: a secondary release first does not ask");
|
||||
unchanged(&app, "a secondary release first");
|
||||
// A primary release beside the button, then the pointer on the button, in one frame.
|
||||
let button = hold_over_button(&mut app, &ctx, "Orange", label, t + 2.0);
|
||||
let late = vec![Event::PointerMoved(beside), press(beside, PointerButton::Primary, false), Event::PointerMoved(button.center())];
|
||||
frame_out(&mut app, &ctx, late, Modifiers::NONE, t + 2.5);
|
||||
unchanged(&app, "a release beside the button");
|
||||
// A primary release on the button while a window covers it.
|
||||
let button = hold_over_button(&mut app, &ctx, "Orange", label, t + 2.6);
|
||||
// A new window shows from its second frame.
|
||||
for dt in [3.02, 3.05] {
|
||||
frame_covered(&mut app, &ctx, vec![Event::PointerMoved(button.center())], t + dt, button);
|
||||
}
|
||||
frame_covered(&mut app, &ctx, vec![press(button.center(), PointerButton::Primary, false)], t + 3.1, button);
|
||||
unchanged(&app, "a release on a covered button");
|
||||
// A primary release on the button, then the pointer beside it, in one frame.
|
||||
let button = hold_over_button(&mut app, &ctx, "Orange", label, t + 4.0);
|
||||
let early = vec![press(button.center(), PointerButton::Primary, false), Event::PointerMoved(beside)];
|
||||
frame_out(&mut app, &ctx, early, Modifiers::NONE, t + 4.5);
|
||||
if label == "New Swatch" {
|
||||
assert!(app.session.doc().unwrap().doc.swatch("Orange copy").is_some(), "{label}: a release on the button duplicates");
|
||||
assert_eq!(undo_steps(&app), undo + 1, "{label}: one undo step");
|
||||
app.run("edit.undo", json!({})).unwrap();
|
||||
} else {
|
||||
assert_eq!(dialog_message(&app).as_deref(), Some("Delete “Orange”?"), "{label}: a release on the button asks");
|
||||
crate::dialogs::cancel(&mut app);
|
||||
}
|
||||
unchanged(&app, "after the drop is undone or canceled");
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn art_dropped_on_the_panel_becomes_a_pattern_swatch() {
|
||||
let mut app = app();
|
||||
|
||||
@@ -1863,8 +1863,8 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur
|
||||
Right-clicking a swatch in either list or thumbnail view selects it without applying paint and offers Swatch Options…, Duplicate Swatch and Delete Swatch for that item. None, [Registration] and missing swatches disable these actions. Existing active-item multiselection is retained; actions still target only the clicked item. Evidence: `panels::swatches::tests::context_menu` harness tests cover all five views, selection, dialog dispatch, duplicate/delete and Undo. All 39 Swatches tests pass; the regression fails with the menu hooks removed. Rendered headless list and thumbnail menus were inspected, and a fresh local deep CodeRabbit review reported zero findings. Full workspace CI passed on Linux/WSL on the merged branch (all 13 gates), including the test-helper correction for the upstream compile error tracked in #7727; native Windows full CI has two unchanged engine-test failures. Scores and estimates unchanged.
|
||||
Validation on 2026-11-15: native Windows formatting, workspace Clippy and all 39 focused Swatches tests passed. Windows full CI stopped at unchanged engine tests `tests::package::a_confined_package_names_files_outside_the_read_root_by_name` (slash-sensitive report assertion) and `tests::plugins::plugin_storage_behind_a_link_is_left_alone` (storage-link setup returned AlreadyExists). Both cases pass in the Linux/WSL full CI run, which passed all 13 gates. No engine or CI workflow changes are included.
|
||||
The panel's Delete Swatch and Swatch Options (footer buttons and panel menu), New Color Group and Save Swatch Library treat only None and [Registration] as reserved, so a user swatch or color group whose name starts with `[` can be deleted, edited, grouped and saved; selected names the document no longer holds are left out (`panels::swatches::tests::bracketed_user_swatches_and_groups_can_be_deleted_and_edited`).
|
||||
Dragging swatches onto Delete Swatch deletes them ([the help page](https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=136), Replace, merge, or delete swatches section, lists this drag as one of the ways to delete the selected swatches): a swatch or color group dragged from the Swatches panel, in any view, and released on the Delete Swatch button is deleted through `swatch.delete`, even while nothing was selected and the button is disabled for clicks. A swatch that is part of the selection carries the other selected swatches of its kind with it. VectorCraft's own rules: the drop asks first as a plain click does, and Alt does not skip the question; Cancel keeps everything, and OK deletes them in one undo step; None and [Registration] are never taken; the button is enabled while swatches are selected or while a swatch or group of the active document is being dragged, and it is outlined only while such a swatch or group is held over it, so a paint from another panel, art and a swatch dragged from another document delete nothing. Tests: `panels::swatches::tests::swatches_dropped_on_delete_swatch_are_deleted_after_asking`, `delete_swatch_ignores_other_drags`.
|
||||
Dragging swatches onto New Swatch duplicates them ([the help page](https://helpx.adobe.com/illustrator/desktop/manage-colors/use-swatches/duplicate-swatches.html) gives this drag as another way to duplicate the selected swatches): a swatch dragged from the Swatches panel, in any view, and released on the New Swatch button is copied through `swatch.duplicate` without opening the New Swatch dialog. A swatch that is part of the selection carries the other selected swatches with it. VectorCraft's own rules: each copy goes just after its swatch and in its color group, named `<name> copy` and then `<name> copy 2`; the copies of one drop are one undo step and are selected; modifiers held on release do not change the drop; color groups, None and [Registration] are not duplicated; the button is outlined only while such a swatch of the active document is held over it, so a paint from another panel, art, a swatch dragged from another document and a swatch deleted during the drag duplicate nothing. Tests: `panels::swatches::tests::swatches_dropped_on_new_swatch_are_duplicated`, `new_swatch_ignores_other_drags`.
|
||||
Dragging swatches onto Delete Swatch deletes them ([the help page](https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=136), Replace, merge, or delete swatches section, lists this drag as one of the ways to delete the selected swatches): a swatch or color group dragged from the Swatches panel, in any view, and released on the Delete Swatch button is deleted through `swatch.delete`, even while nothing was selected and the button is disabled for clicks. A swatch that is part of the selection carries the other selected swatches of its kind with it, also those the find field or the kind filter hides. VectorCraft's own rules: the drop asks first as a plain click does, and Alt does not skip the question; Cancel keeps everything, and OK deletes them in one undo step; None and [Registration] are never taken; the drop counts only when the first button released is the primary one and it is released on the button; the button is enabled while swatches are selected or while a swatch or group of the active document is being dragged, and it is outlined only while such a swatch or group is held over it, so a paint from another panel, art and a swatch dragged from another document delete nothing. Tests: `panels::swatches::tests::swatches_dropped_on_delete_swatch_are_deleted_after_asking`, `delete_swatch_ignores_other_drags`.
|
||||
Dragging swatches onto New Swatch duplicates them ([the help page](https://helpx.adobe.com/illustrator/desktop/manage-colors/use-swatches/duplicate-swatches.html) gives this drag as another way to duplicate the selected swatches): a swatch dragged from the Swatches panel, in any view, and released on the New Swatch button is copied through `swatch.duplicate` without opening the New Swatch dialog. A swatch that is part of the selection carries the other selected swatches with it, also those the find field or the kind filter hides. VectorCraft's own rules: each copy goes just after its swatch and in its color group, named `<name> copy` and then `<name> copy 2`; the copies of one drop are one undo step and are selected in panel order; modifiers held on release do not change the drop; the drop counts only when the first button released is the primary one and it is released on the button; color groups, None and [Registration] are not duplicated; the button is outlined only while such a swatch of the active document is held over it, so a paint from another panel, art, a swatch dragged from another document and a swatch deleted during the drag duplicate nothing. Tests: `panels::swatches::tests::swatches_dropped_on_new_swatch_are_duplicated`, `new_swatch_ignores_other_drags`, `footer_drops_carry_selected_swatches_that_find_hides`, `footer_drops_go_by_the_first_release_and_where_it_happened`.
|
||||
Editing, renaming, deleting or merging a global swatch also changes the colors linked to it in graph designs, the art of brushes and the tile that pattern editing's Cancel puts back, in the same undo step as the rest of the art; Default Swatches with replace unlinks them there too.
|
||||
A swatch step in `command.batch` (Delete, Swatch Options, Merge, Edit Color Group) changes the fill and stroke for new art as the command run on its own does, so art drawn later in the batch or after it takes the same paint; a batch that fails, and a canceled batch preview, put back the paints it started with, and a canceled Swatch Options preview leaves them as they were. These swatch commands also change the fills and strokes of the appearance new art takes, and Undo and Redo of the command or the batch put the paints for new art back with the swatches. Spot Colors options (`swatch.spotOptions`) and Default Swatches with replace (`swatch.resetDefaults {replace: true}`) as `command.batch` steps also change the fill and stroke for new art as each command run on its own does: a fill or stroke linked to a Lab spot swatch keeps its link and tint and takes the Lab values or their CMYK equivalent, and one linked to a swatch the replace removes keeps its color and loses the link. Evidence: `swatch_steps_in_a_batch_change_the_new_art_paints_as_commands_do`, `spot_colors_options_in_a_batch_change_the_new_art_paints_as_the_command_does`, `default_swatches_replace_in_a_batch_unlinks_the_new_art_paints_as_the_command_does`, `undo_and_redo_of_a_swatch_edit_put_back_the_new_art_paints`, `swatch_edits_reach_the_paints_of_the_new_art_template`, `a_failed_batch_puts_back_the_new_art_paints_a_swatch_step_changed` and `canceling_a_swatch_options_preview_keeps_the_new_art_paints` in `crates/engine/src/tests/swatches.rs`.
|
||||
Add Used Colors (`swatch.addUsedColors`) and Select All Unused (`swatch.unused`) look colors, swatch names, links, tints and gradients up in hash sets instead of searching every swatch and color for each color or linked paint (New Color Group from artwork too), and New Swatch with several colors (`swatch.new`), New Color Group (`swatch.newGroup`) and Edit Color Group (`swatch.editGroup`) name their new swatches from one set of the names already taken. The new swatches keep their names, order and links, and Select All Unused lists the same swatches. Evidence: `add_used_colors_adds_each_new_color_once_with_free_names`, `add_used_colors_global_links_every_paint_of_a_new_color`, `unused_matches_links_tints_colors_gradients_and_patterns_exactly`, `new_swatches_from_colors_are_numbered_after_names_already_taken`, `new_color_group_numbers_its_colors_after_the_group_and_its_moved_swatches`, `new_color_group_from_artwork_lists_each_color_once_with_free_names` and `edit_color_group_numbers_extra_colors_after_the_names_it_keeps` in `crates/engine/src/tests/swatchcmds.rs`; `free_swatch_names_match_naming_each_swatch_as_it_is_added` and `free_swatch_names_match_new_swatch_names_as_swatches_are_added` in `crates/doc/src/swatches.rs`.
|
||||
|
||||
Reference in New Issue
Block a user