Skip to content

Direct Tempo Editing#267

Merged
uvcat7 merged 14 commits into
betafrom
direct-tempo-edit
Apr 27, 2026
Merged

Direct Tempo Editing#267
uvcat7 merged 14 commits into
betafrom
direct-tempo-edit

Conversation

@Psycast
Copy link
Copy Markdown
Collaborator

@Psycast Psycast commented Mar 22, 2026

Tempo Editing

Adds a mini editor for each tempo type.

Can be opened in 2 ways:
- Using the dedicated hotkey for a given type, which will use either the mouse or receptor position based on the anchor setting.
- Single selecting a tempo box.

The dialog cannot be moved by the user, and will be pinned to the location that it is currently editing, while staying on screen if scrolled out of view.

Dialog Focusing

Adds a system when focus can be set directly with code, with any dialog opening attempting to focus on a widget marked as initial.

Currently unused, but functional.

Other

- Shortcut display now shows unassigned keys instead of not appearing in the list.
- Dialogs can now have their Pin, Drag, and Close flags set for window buttons.
- Dialogs can now be closed and reopened on the same tick.

Closes #60

Psycast added 11 commits March 14, 2026 20:40
Allows code to focus a named widget and set the focus on it.
Will try to focus any widget named "initial" on dialog creation, if no focus already set.
When no range has been selected and currently hovering a tempo object, allow a single click to select it.,
Allow a dialog to set pin and drag ability.
Also makes close and minimize actually set the flag.
- Uses a single parent dialog to contain all the sub dialogs.
- Uses the auto-focus to select the first text input when opened.
- Is positioned next to the item being edited, without overlapping other objects at that position.
- Refactors Visual Sync Anchor to be a general editing anchor.
- Add Saving/Loading the anchor settings.
- Uses Ctrl + Alt + Top row as base shortcuts.
- Add the quick tempo editing options.
- Now shows unassigned shortcuts with gray text.
Provides a setting if it should open the tempo editor when a single tempo item is selected.
@uvcat7
Copy link
Copy Markdown
Owner

uvcat7 commented Apr 24, 2026

I like this, but the workflow is a bit clunky since you have to manually close the dialog box each time. Can you add support for the box closing when you hit Enter or Escape?

@Psycast
Copy link
Copy Markdown
Collaborator Author

Psycast commented Apr 25, 2026

I like this, but the workflow is a bit clunky since you have to manually close the dialog box each time. Can you add support for the box closing when you hit Enter or Escape?

Enter could be an issue due to some of the types having multiple inputs and the box only send the value changes on Enter or input loss, but I can check if Escape would lead to any issues.

@uvcat7 uvcat7 merged commit efb9faf into beta Apr 27, 2026
7 checks passed
@uvcat7 uvcat7 deleted the direct-tempo-edit branch April 27, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants