mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-26 22:47:50 +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,
|
||||
location: WorkspaceStore.Location.RootSidebar.Toolbar
|
||||
else
|
||||
NylasEnv.getCurrentWindow().setMinimumSize(480, 400)
|
||||
NylasEnv.getCurrentWindow().setMinimumSize(480, 250)
|
||||
WorkspaceStore.defineSheet 'Main', {root: true},
|
||||
popout: ['Center']
|
||||
|
||||
|
|
|
@ -687,7 +687,7 @@ class NylasEnvConstructor extends Model
|
|||
document.getElementById("application-loading-cover").remove()
|
||||
document.body.classList.add("window-loaded")
|
||||
@restoreWindowDimensions()
|
||||
@getCurrentWindow().setMinimumSize(875, 500)
|
||||
@getCurrentWindow().setMinimumSize(875, 250)
|
||||
|
||||
registerCommands: ->
|
||||
{resourcePath} = @getLoadSettings()
|
||||
|
|
Loading…
Add table
Reference in a new issue