Skip to content

Select tool double click text to edit in shallow select mode #4328

Description

@0HyperCube

Using the select tool, if you double click on a text layer in deep select mode, then it automatically activates the text tool and starts editing the text:

fn edit_layer_deepest_manipulation(layer: LayerNodeIdentifier, network_interface: &NodeNetworkInterface, responses: &mut VecDeque<Message>) {
if network_interface.document_metadata().is_text_layer(layer) {
responses.add_front(ToolMessage::ActivateTool { tool_type: ToolType::Text });
responses.add(TextToolMessage::EditSelected);
}
}

However if you are in shallow select mode (the default), it it will not.

I think that this is somewhat inconsistent behaviour. Either remove functionality from deep select or add to shallow select.

Deep select mode can be activated using the dropdown menu:
using deep select

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    Status
    Short-Term

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions