mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
a37e567888
Summary: Simplify the default window size, restore window size when the main window is loaded, fix serialization of packages in beforeunload. Test Plan: Run tests Reviewers: evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D2061
13 lines
355 B
CoffeeScript
13 lines
355 B
CoffeeScript
{ComponentRegistry, WorkspaceStore} = require 'nylas-exports'
|
|
|
|
UndoRedoComponent = require "./undo-redo-component"
|
|
|
|
module.exports =
|
|
activate: (@state={}) ->
|
|
ComponentRegistry.register UndoRedoComponent,
|
|
location: WorkspaceStore.Location.ThreadList
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister(UndoRedoComponent)
|
|
|
|
serialize: -> @state
|