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 committed Dec 23, 2022
1 parent 95d0695 commit 287ad78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/panes/cfg-view.ts
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 287ad78

Please sign in to comment.