Skip to content

Commit

Permalink
AG-11398 Rename 'reset-zoom' to 'reset'
Browse files Browse the repository at this point in the history
  • Loading branch information
lsjroberts committed Apr 30, 2024
1 parent 67e77c2 commit 4ce5353
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class ZoomToolbar {
private onButtonPressZoom(event: _ModuleSupport.ToolbarButtonPressedEvent, props: ZoomProperties) {
if (!ToolbarManager.isGroup('zoom', event)) return;

if (props.independentAxes && event.value !== 'reset-zoom') {
if (props.independentAxes && event.value !== 'reset') {
const axisZooms = this.zoomManager.getAxisZooms();
for (const [axisId, { direction, zoom }] of Object.entries(axisZooms)) {
if (zoom == null) continue;
Expand Down

0 comments on commit 4ce5353

Please sign in to comment.