Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Format the merge of main

moppeeer4b281bd20bbb
diff --git a/crates/tools/src/select.rs b/crates/tools/src/select.rs
index 9f2c9492d..3f36fea59 100644
--- a/crates/tools/src/select.rs
+++ b/crates/tools/src/select.rs
@@ -293,7 +293,17 @@ pub struct SelectionTool {
impl SelectionTool {
pub fn new(direct: bool) -> Self {
- Self { direct, drag: Drag::None, hover_handle: None, guides: vec![], shift_release: None, key_release: None, anchor_release: None, loaded: None, live: None }
+ Self {
+ direct,
+ drag: Drag::None,
+ hover_handle: None,
+ guides: vec![],
+ shift_release: None,
+ key_release: None,
+ anchor_release: None,
+ loaded: None,
+ live: None,
+ }
}
/// [`bracket_at`] for this tool. With Direct Selection an anchor under the pointer wins: the