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

Fix erratic keyframe parameter height zoom function #1188

Merged
merged 3 commits into from Nov 23, 2021

Conversation

traprog
Copy link
Contributor

@traprog traprog commented Nov 22, 2021

It looks like a parameter's minimum and maximum properties are constantly changing as I move a keyframe while zoomHeight is true.
I made minimum and maximum property modification one-time event in response to a click on the zoom icon.

zoomHeight can be made to be a property of a parameter rather than of a parameter head as it was in the original.

Copy link
Member

@bmatherly bmatherly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution. One comment for your consideration.

@@ -30,6 +30,11 @@ Item {

signal clicked(var keyframe, var parameter)

function setLowestHighest(lh) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name suggestions:
Change "setLowestHighest" to "setMinMax"
Change "lh" to "zoomHeight"
thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I have no problem with changing names.
Updated with two commits below.

@bmatherly bmatherly merged commit 9e99d2b into mltframework:master Nov 23, 2021
@ddennedy ddennedy added this to the v21.12 milestone Dec 2, 2021
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.

None yet

3 participants