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

Lua plugin: Fix selection API using 0-based indices #435

Merged
merged 1 commit into from
Mar 26, 2023

Conversation

ShawnCZek
Copy link
Contributor

This is a fix for my Lua rookie mistake in #434.

Since the selection range consists of an index/offset, it should be 1-based, as this is a convention in Lua.

@mikke89
Copy link
Owner

mikke89 commented Mar 26, 2023

Makes sense with one-indexing, and no worries :) Thanks for the PR.

@mikke89 mikke89 merged commit 3dc8ec5 into mikke89:master Mar 26, 2023
@ShawnCZek ShawnCZek deleted the lua-input-selection-indices branch March 26, 2023 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lua Lua binding issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants