fix(chart): support wheel zoom out
All checks were successful
Package component / package (push) Successful in 3m50s

This commit is contained in:
李启源
2026-07-31 12:07:08 +08:00
parent 979b698156
commit f98c264562
9 changed files with 200 additions and 16 deletions

View File

@@ -241,7 +241,7 @@ describe('WaveformChart presentation mode', () => {
await flushPromises()
overlay.element.dispatchEvent(
new WheelEvent('wheel', {
deltaY: -200,
deltaY: 200,
clientX: width / 2,
clientY: height / 2,
bubbles: true,