mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 23:54:13 +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()
|
{windowType} = NylasEnv.getLoadSettings()
|
||||||
unless windowType is 'onboarding'
|
unless windowType is 'onboarding'
|
||||||
|
require('electron').webFrame.setZoomLevelLimits(1, 1)
|
||||||
NylasEnv.config.observe 'core.workspace.interfaceZoom', (z) =>
|
NylasEnv.config.observe 'core.workspace.interfaceZoom', (z) =>
|
||||||
require('electron').webFrame.setZoomFactor(z) if z and _.isNumber(z)
|
require('electron').webFrame.setZoomFactor(z) if z and _.isNumber(z)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue