mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 10:16:26 +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) {
|
handleWheel (e) {
|
||||||
if (e.ctrlKey && process.platform !== 'darwin') {
|
if (e.ctrlKey && global.process.platform !== 'darwin') {
|
||||||
if (window.document.body.style.zoom == null) {
|
if (window.document.body.style.zoom == null) {
|
||||||
window.document.body.style.zoom = 1
|
window.document.body.style.zoom = 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user