Skip to content

Commit

Permalink
Add debug.zoom_factor setting key
Browse files Browse the repository at this point in the history
As discussed in #175
  • Loading branch information
yishn committed Mar 10, 2017
1 parent 82eda85 commit b60d888
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions modules/setting.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b60d888

Please sign in to comment.