mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 21:38:13 +08:00
Place new layers in tree based on layer selection (#526)
* place new layers based on layer selection
This commit is contained in:
@@ -111,7 +111,7 @@ impl Fsm for EllipseToolFsmState {
|
||||
(Ready, DragStart) => {
|
||||
shape_data.start(responses, input.viewport_bounds.size(), document, input.mouse.position);
|
||||
responses.push_back(DocumentMessage::StartTransaction.into());
|
||||
shape_data.path = Some(vec![generate_uuid()]);
|
||||
shape_data.path = Some(document.get_path_for_new_layer());
|
||||
responses.push_back(DocumentMessage::DeselectAllLayers.into());
|
||||
|
||||
responses.push_back(
|
||||
|
||||
Reference in New Issue
Block a user