mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-28 15:35:37 +08:00
fix(min-height): Reduce minimum window size to 250px. Fixes #1293
This commit is contained in:
parent
b21bb4bc9b
commit
793fc5ef2c
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ module.exports =
|
||||||
ComponentRegistry.register ComposeButton,
|
ComponentRegistry.register ComposeButton,
|
||||||
location: WorkspaceStore.Location.RootSidebar.Toolbar
|
location: WorkspaceStore.Location.RootSidebar.Toolbar
|
||||||
else
|
else
|
||||||
NylasEnv.getCurrentWindow().setMinimumSize(480, 400)
|
NylasEnv.getCurrentWindow().setMinimumSize(480, 250)
|
||||||
WorkspaceStore.defineSheet 'Main', {root: true},
|
WorkspaceStore.defineSheet 'Main', {root: true},
|
||||||
popout: ['Center']
|
popout: ['Center']
|
||||||
|
|
||||||
|
|
|
@ -687,7 +687,7 @@ class NylasEnvConstructor extends Model
|
||||||
document.getElementById("application-loading-cover").remove()
|
document.getElementById("application-loading-cover").remove()
|
||||||
document.body.classList.add("window-loaded")
|
document.body.classList.add("window-loaded")
|
||||||
@restoreWindowDimensions()
|
@restoreWindowDimensions()
|
||||||
@getCurrentWindow().setMinimumSize(875, 500)
|
@getCurrentWindow().setMinimumSize(875, 250)
|
||||||
|
|
||||||
registerCommands: ->
|
registerCommands: ->
|
||||||
{resourcePath} = @getLoadSettings()
|
{resourcePath} = @getLoadSettings()
|
||||||
|
|
Loading…
Add table
Reference in a new issue