diff --git a/main.js b/main.js index 0d2289d9c..765b493cd 100644 --- a/main.js +++ b/main.js @@ -18,7 +18,10 @@ function newWindow(path) { minWidth: setting.get('window.minwidth'), minHeight: setting.get('window.minheight'), backgroundColor: '#111111', - show: false + show: false, + webPreferences: { + zoomFactor: setting.get('debug.zoom_factor') + } }) windows.push(window) diff --git a/modules/setting.js b/modules/setting.js index 476d63600..9a7661384 100644 --- a/modules/setting.js +++ b/modules/setting.js @@ -57,6 +57,7 @@ let defaults = { ], 'console.max_history_count': 30, 'debug.dev_tools': false, + 'debug.zoom_factor': 1.0, 'edit.click_currentvertex_to_remove': true, 'edit.show_removenode_warning': true, 'edit.show_removeothervariations_warning': true,