style: cargo fmt
Build & Publish Release / Android APK (push) Successful in 6m8s
Build & Publish Release / Build Packages & Publish to Gitea (push) Successful in 11m37s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
haraldandClaude Opus 5.5 committed 2026-11-09 22:49:30 +01:00
1 parent 043f487e9c
commit e7e161e70c
1 file changed
+2 -1
+2 -1
View File
@@ -348,7 +348,8 @@ impl UiSettings {
}
pub fn set_pens(&mut self, pens: [PenPreset; PEN_PRESET_COUNT]) {
self.pen_presets.copy_from_slice(&pens[..STORED_PEN_PRESETS]);
self.pen_presets
.copy_from_slice(&pens[..STORED_PEN_PRESETS]);
self.more_pen_presets = pens[STORED_PEN_PRESETS..].to_vec();
}