Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: updating all markers #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aonmkugs
Copy link

Adds the ability to update ALL the markers in a video at once with the current set of changed parameters.

To use this, you need to hold Shift when pressing the "Add Marker" button ("+"), it will pick the current marker as the reference (or warn the user if there's no marker at the current frame), check the parameters that have changed in the UI in comparison to that marker and will ask the user to confirm if they want to set all these changed parameters to all the other markers.

For example, if the user has changed two parameters and pressed Shift and the "+" button, they are asked to confirm the update of all markers with these values:
image

The normal workflow to add markers (without Shift) is preserved as it was previously.

Also includes a small syntax cleanup of update_markers and simplification of some code.

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.

1 participant