mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 16:55:55 +00:00
Over the path's first anchor, a click closes the path on that anchor; over an end of another open path, it joins the two, and the segment arrives along that end's own handle. The preview ended at the pointer and arrived without a handle, so the segment moved by up to the pick tolerance at the click and changed shape when the other end was smooth. The preview now ends on the anchor the click uses, with that anchor's handle, and picks the anchor at the pointer before snapping, in the order a press does. Part of #8296.
38 lines
992 B
Rust
38 lines
992 B
Rust
//! Integration tests: one test binary for the crate, one module per area.
|
||
// Unwrapping and panicking on failure is fine here, unlike in shipped code (AGENTS.md › Robustness).
|
||
#![allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
|
||
|
||
#[path = "../support/affinity_docs.rs"]
|
||
mod affinity_docs;
|
||
#[path = "../../../affinity/tests/support/text_fixture.rs"]
|
||
mod text_fixture;
|
||
|
||
mod affinity_features;
|
||
mod affinity_local;
|
||
mod artboard_click;
|
||
mod beyond_canvas;
|
||
mod clear_commands;
|
||
mod compound_attributes;
|
||
mod copy_direct_selection;
|
||
mod delete_path_pieces;
|
||
mod dimensions;
|
||
mod eyedropper_sources;
|
||
mod find_replace_paras;
|
||
mod inline_text;
|
||
mod js_lexer_vs_scriptcheck;
|
||
mod known_bugs;
|
||
mod lossy_overwrite;
|
||
mod model_based;
|
||
mod param_keys;
|
||
mod paste_many;
|
||
mod pen_click_after_smooth;
|
||
mod pen_endpoint_picking;
|
||
mod pen_rubber_band;
|
||
mod ruler_guide_nodes;
|
||
mod ruler_guide_perf;
|
||
mod ruler_origin;
|
||
mod selection_commands;
|
||
mod stroke_visibility;
|
||
mod text_stroke_scale;
|
||
mod three_d_light_color;
|