Skip to content

Commit

Permalink
Prevent default for zoom event in cfg (#4489)
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenRBS authored and mattgodbolt committed Jan 24, 2023
1 parent 0bfc1d1 commit 723e651
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/panes/cfg-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ export class Cfg extends Pane<CfgState> {
} else {
this.state.zoom = MINZOOM;
}
e.preventDefault();
});
this.exportPNGButton.on('click', () => {
this.exportPNG();
Expand Down

0 comments on commit 723e651

Please sign in to comment.