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

new feature: nonDraggableIndices #93

Merged
merged 2 commits into from Sep 17, 2023

Conversation

Bader-Al
Copy link

nonDraggableIndices can be used along with lockedIndices for certain use-cases.

@karvulf
Copy link
Owner

karvulf commented Sep 11, 2023

Hello @Bader-Al
Thank you for opening the PR. I think there might be an issue where you call:

!widget.nonDraggableIndices.contains(key.value);

You define in a list the indices that should not be draggable. But there you say that it depends on the value of the key that is not the index. Instead you need to add a key variable that you increase in the for-loop. Or you change the for loop to the classical one.

@karvulf karvulf merged commit ba1a14e into karvulf:release/v5.0.0 Sep 17, 2023
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

2 participants