style: cargo fmt
Build & Publish Release / Build Packages & Publish to Gitea (push) Successful in 6m29s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-19 17:19:10 +02:00
co-authored by Claude Opus 5.5
parent d21fa91315
commit 5fafff5eaf
+2 -1
View File
@@ -616,7 +616,8 @@ impl Stroke {
pub fn recompute_aabb(&mut self) { pub fn recompute_aabb(&mut self) {
// Ohne Zwischenliste: läuft beim Ziehen einer Auswahl für jeden Strich und jede Bewegung // Ohne Zwischenliste: läuft beim Ziehen einer Auswahl für jeden Strich und jede Bewegung
let bounds = |mut pts: Box<dyn Iterator<Item = glam::Vec2> + '_>| { let bounds = |mut pts: Box<dyn Iterator<Item = glam::Vec2> + '_>| {
pts.next().map_or(Aabb::new(glam::Vec2::ZERO, glam::Vec2::ZERO), |first| { pts.next()
.map_or(Aabb::new(glam::Vec2::ZERO, glam::Vec2::ZERO), |first| {
pts.fold(Aabb::new(first, first), |mut aabb, p| { pts.fold(Aabb::new(first, first), |mut aabb, p| {
aabb.expand_by_point(p); aabb.expand_by_point(p);
aabb aabb