- #38: the eraser size button opens a menu like the pens: four presets and a slider (2–30 mm diameter) - #41: shape corners stay pointed down to about 14° (miter limit 8 instead of 2) - #40: page picker tiles are as high as the tallest page needs, so slides get flat tiles; the frame follows the page instead of the whole tile - #28: the fling diagnosis also logs finger starts, mouse buttons and wheel/touchpad events Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
69e1640dc8
commit
1e34c01ad2
6 files changed
+258
-61
No files matched your search
+3
-2
@@ -1801,8 +1801,9 @@ pub fn contour_rms(points: &[Vec2], shape: &RecognizedShape) -> Option<f32> {
|
||||
Some((sum_sq / points.len() as f32).sqrt())
|
||||
}
|
||||
|
||||
/// Longest miter of a polygon corner, in half stroke widths; sharper corners are bevelled.
|
||||
const MITER_LIMIT: f32 = 2.0;
|
||||
/// Longest miter of a polygon corner, in half stroke widths: corners down to about 14° stay
|
||||
/// pointed, only sharper ones are bevelled (Issue #41).
|
||||
const MITER_LIMIT: f32 = 8.0;
|
||||
|
||||
/// Vertex pairs (left, right of the outline direction) of a triangle strip at corner `curr`
|
||||
/// between the edges from `prev` and to `next` with left normals `n_prev` and `n_next`. Both
|
||||
|
||||
Reference in new issue
Block a user