mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 15:46:28 +08:00
fix(zoom): Disable "double tap to zoom" behavior
This commit is contained in:
parent
b1b48c08f4
commit
b8329a38c8
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ class WorkspaceStore extends NylasStore
|
|||
|
||||
{windowType} = NylasEnv.getLoadSettings()
|
||||
unless windowType is 'onboarding'
|
||||
require('electron').webFrame.setZoomLevelLimits(1, 1)
|
||||
NylasEnv.config.observe 'core.workspace.interfaceZoom', (z) =>
|
||||
require('electron').webFrame.setZoomFactor(z) if z and _.isNumber(z)
|
||||
|
||||
|
|
Loading…
Reference in a new issue