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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user