mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-26 12:48:11 +08:00
Make double-clicking a text layer begin editing in shallow select mode, not just deep select mode (#4373)
This commit is contained in:
@@ -2058,6 +2058,7 @@ fn edit_layer_shallowest_manipulation(document: &DocumentMessageHandler, layer:
|
|||||||
.parent(document.metadata())
|
.parent(document.metadata())
|
||||||
.is_some_and(|parent| document.network_interface.selected_nodes().selected_layers_contains(parent, document.metadata()))
|
.is_some_and(|parent| document.network_interface.selected_nodes().selected_layers_contains(parent, document.metadata()))
|
||||||
}) else {
|
}) else {
|
||||||
|
edit_layer_deepest_manipulation(layer, &document.network_interface, responses);
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user