mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-01 06:06:49 -06:00
Merge branch 'direct-select-anchor-points' into direct-select-handles
This commit is contained in:
@@ -314,7 +314,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
|
||||
|
||||
Reference in New Issue
Block a user