-
Notifications
You must be signed in to change notification settings - Fork 414
Fix clicking TAStudio column header with non-contiguous rows selected #4332
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
base: master
Are you sure you want to change the base?
Conversation
That's a lot of code with logic I don't want to read to fix this niche thing... How about making a |
|
b87b346
to
1e8b621
Compare
while (iSelection < selection.Length) | ||
{ | ||
var index = selection[iSelection]; | ||
if (index - lastFrameIndexSeen is not 1) break; | ||
lastFrameIndexSeen = index; | ||
iSelection++; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still don't understand why you duplicated this loop.
...and prepare for #1399. I just need to figure out where TAStudio would get called into when buttons are pressed, since that's normally handled via
InputManager
I believe.