Skip to content

Commit

Permalink
Fix #31
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Ipson committed Apr 6, 2021
1 parent fecef25 commit a565af6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@ import VueTitlebar from '@wuild/vue-titlebar';
import App from './App.vue';
import router from './router';

import JellyfinService from './services/jellyfin';
// Disable Zooming: https://github.com/electron/electron/issues/8793#issuecomment-648307765
window.onkeydown = function(evt) {
if (
(evt.code == 'Minus' || evt.code == 'Equal') &&
(evt.ctrlKey || evt.metaKey)
) {
evt.preventDefault();
}
}

Vue.config.productionTip = false;

Expand Down

0 comments on commit a565af6

Please sign in to comment.