Skip to content

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

YoshiRulz
Copy link
Member

...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.

@YoshiRulz YoshiRulz requested a review from vadosnaprimer May 24, 2025 21:31
@Morilli
Copy link
Collaborator

Morilli commented May 25, 2025

That's a lot of code with logic I don't want to read to fix this niche thing...

How about making a ToggleBoolStates method on ITasMovie instead (ToggleBoolState already exists on there)?

@YoshiRulz
Copy link
Member Author

YoshiRulz commented May 25, 2025

ToggleBoolStates would just be this same logic but in a different file.

@YoshiRulz YoshiRulz force-pushed the tastudio-toggle-fix branch from b87b346 to 1e8b621 Compare May 29, 2025 18:34
Comment on lines +386 to +392
while (iSelection < selection.Length)
{
var index = selection[iSelection];
if (index - lastFrameIndexSeen is not 1) break;
lastFrameIndexSeen = index;
iSelection++;
}
Copy link
Collaborator

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.

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.

3 participants