Skip to content

Shade event durations that span the scroll window - #960

Merged
arnodelorme merged 1 commit into
developfrom
fix/eegplot-spanning-durations
Sep 9, 2026
Merged

arnodelorme merged 1 commit into
developfrom
fix/eegplot-spanning-durations

Conversation

@arnodelorme

Copy link
Copy Markdown
Collaborator

eegplot and eegplotlegacy excluded events that start before and end after the visible window, so their durations were never shaded. Such events are now included, the latency line and label are drawn only when the onset is visible, and the shading is clipped to the window start. Verified headless on both implementations with a synthetic 10 s event. Fixes #941

@claude

claude Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

Claude encountered an error —— View job


I'll analyze this and get back to you.

@arnodelorme
arnodelorme merged commit 7ed731d into develop Sep 9, 2026
2 of 3 checks passed
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.

Channel data scroll only displays event durations if either the event onset or end of event duration are on screen.

1 participant