1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

configuring zoomfactor with Ctrl + Wheelscroll only works on windows and linux

This commit is contained in:
Rokt33r
2016-03-16 08:08:42 +09:00
parent aef0712165
commit f75e872415

View File

@@ -20,7 +20,7 @@ export default class MainContainer extends React.Component {
}
handleWheel (e) {
if (e.ctrlKey && process.platform !== 'darwin') {
if (e.ctrlKey && global.process.platform !== 'darwin') {
if (window.document.body.style.zoom == null) {
window.document.body.style.zoom = 1
}