WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 1442792

Browse files
committed
AG-16099 Emit 'user-interaction' source on navigator interactions
1 parent ea138e7 commit 1442792

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/ag-charts-enterprise/src/features/navigator/navigatorDOMProxy.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@ export class NavigatorDOMProxy {
9393
const { _min: min, _max: max } = this;
9494
if (min == null || max == null) return;
9595

96-
this.ctx.zoomManager.updateZoom({ source: 'chart-update', sourceDetail: 'navigatorDOM' }, { x: { min, max } });
96+
this.ctx.zoomManager.updateZoom(
97+
{ source: 'user-interaction', sourceDetail: 'navigatorDOM' },
98+
{ x: { min, max } }
99+
);
97100
}
98101

99102
updateBounds(bounds: BoxBounds): void {

0 commit comments

Comments
 (0)