mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 11:08:11 +08:00
Place new layers in tree based on layer selection (#526)
* place new layers based on layer selection
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user