style: cargo fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
043f487e9c
commit
4bce0f139c
1 file changed
+2
-1
+2
-1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user