Skip to content

Conversation

@bparks13
Copy link
Member

While creating documentation for the Headstage64 GUIs, I found another error that slipped in, which is that the zoom and channel scaling for both dialogs were slightly shifted. This PR corrects both of those issues by checking if vertical zoom is enabled before zooming in on the center of the cursor, and by applying the ChannelScale correction at the correct place.

  • For Headstage64 Optical/Electrical stimulators, vertical zoom is disabled, which can interfere with the default behavior of the StimulusSequenceDialog to zoom in on the center of the cursor
  • The waveforms for both optical and electrical stimulators were not being properly scaled; the ChannelScale value was not applied at the correct location

- For Headstage64 Optical/Electrical stimulators, vertical zoom is disabled, which can interfere with the default behavior of the StimulusSequenceDialog to zoom in on the center of the cursor
- The waveforms for both optical and electrical stimulators were not being properly scaled; the ChannelScale value was not applied at the correct location
@bparks13 bparks13 added this to the 0.7.0 milestone Oct 20, 2025
@bparks13 bparks13 requested a review from cjsha October 20, 2025 21:25
@bparks13 bparks13 self-assigned this Oct 20, 2025
@bparks13 bparks13 merged commit faf6ea1 into main Oct 20, 2025
8 checks passed
@bparks13 bparks13 deleted the fix-hs64-zoom branch October 20, 2025 21:32
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