Files
vectorcraft/crates/engine/tests/it/main.rs
T
dotCooCoo 4f89536718 Pen: the rubber band over the first anchor or another path's end is the segment a click adds
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.
2026-11-18 06:28:21 -08:00

38 lines
992 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//! 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;