Skip to content

Commit

Permalink
Disable zooming for app
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jan 21, 2017
1 parent 656e142 commit ab59fe2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import { webFrame } from 'electron';
import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import App from './containers/App';
import configureStore from './store/configureStore';

webFrame.setZoomFactor(1);
webFrame.setZoomLevelLimits(1, 1);

const store = configureStore();

render(
Expand Down

0 comments on commit ab59fe2

Please sign in to comment.