Skip to content

Align sequence tooltip with code. #579

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

Merged
merged 3 commits into from
Apr 11, 2025

Conversation

tabac
Copy link
Contributor

@tabac tabac commented Apr 9, 2025

I believe the tooltip is not aligned with the code.

Based on this we expect the start number first and the width second. I didn't change the string match pattern, it's not clear to me if we want it the other way around of not.

@wpferguson
Copy link
Member

Actually the tooltip is correct as is and the code is backwards. It should be

local width, start = string.match(var_string, "(%d+),(%d)")

This matches the darktable variables tooltip here, https://docs.darktable.org/usermanual/4.8/en/special-topics/variables/

@tabac
Copy link
Contributor Author

tabac commented Apr 10, 2025

Oh, I didn't notice that, I can update the PR if you want.

@tabac
Copy link
Contributor Author

tabac commented Apr 10, 2025

@wpferguson let me know what you think.

@wpferguson
Copy link
Member

If you want to update the PR that would be great. Thanks

@wpferguson
Copy link
Member

Looks good to me, thanks.

@wpferguson wpferguson merged commit 0043769 into darktable-org:master Apr 11, 2025
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