Skip to content

Commit

Permalink
fix(fmt): fix format for code
Browse files Browse the repository at this point in the history
  • Loading branch information
mistgc committed Feb 20, 2024
1 parent 194d1cf commit a48ffc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,16 +140,12 @@ impl Configuration {
if let Some(v) = general.annotation_size_factor {
self.annotation_size_factor = v;
}
<<<<<<< HEAD
if let Some(v) = general.save_after_copy {
self.save_after_copy = v;
}
||||||| parent of 6fb3d68 (feat: add support for configuring "default-hide-toolbars")
=======
if let Some(v) = general.default_hide_toolbars {
self.default_hide_toolbars = v;
}
>>>>>>> 6fb3d68 (feat: add support for configuring "default-hide-toolbars")
}
fn merge(&mut self, file: Option<ConfigurationFile>, command_line: CommandLine) {
// input_filename is required and needs to be overwritten
Expand Down
5 changes: 4 additions & 1 deletion src/sketch_board.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,10 @@ impl SketchBoard {
}

// Toolbars = Tools Toolbar + Style Toolbar
fn handle_toggle_toolbars_display(&mut self, sender: ComponentSender<Self>) -> ToolUpdateResult {
fn handle_toggle_toolbars_display(
&mut self,
sender: ComponentSender<Self>,
) -> ToolUpdateResult {
sender
.output_sender()
.emit(SketchBoardOutput::ToggleToolbarsDisplay);
Expand Down

0 comments on commit a48ffc1

Please sign in to comment.