Skip to content

Semi-automated segment naming #3457

Open
@RadianM

Description

@RadianM

I'm always frustrated when adding new segments and having to name them to keep track of which effects are in which segment.
I feel this could be streamlined by automatically setting the segment name to the name of the effect chosen for the segment(s).
I appreciate that this might not always be desirable so have a proposal which addresses the issue to a certain extent:

Adding the following three lines at the end of function updateSelectedFx() in index.js...


		if(selectedName.search(/[^a-zA-Z\d\s:]/) != -1) selectedName=selectedName.substring(0, selectedName.search(/[^a-zA-Z\d\s:]/)-1);	//strip flag chars if any
		var segs = gId("segcont").querySelectorAll('.ptxt');	//point to edit text field class
		for (const seg of segs) seg.value=selectedName; //Set edit text field
        }
}

...Thus when the effect is selected, all "checked" segments receive the effect name in the "edit name input field" overwriting the usual placeholder string. This name is then used by default if and when the segment "tick" icon is selected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions