Place new layers in tree based on layer selection (#526)

* place new layers based on layer selection
This commit is contained in:
Wuelle
2022-02-09 19:54:38 +01:00
committed by Keavon Chambers
parent cb9a37b638
commit cc66ab06b0
9 changed files with 18 additions and 7 deletions
@@ -15,6 +15,7 @@ pub struct Resize {
pub path: Option<Vec<LayerId>>,
snap_handler: SnapHandler,
}
impl Resize {
/// Starts a resize, assigning the snap targets and snapping the starting position.
pub fn start(&mut self, responses: &mut VecDeque<Message>, viewport_bounds: DVec2, document: &DocumentMessageHandler, mouse_position: DVec2) {