mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-11 04:48:44 +03:00
Merge pull request #1334 from atom/ns-omit-destroyed-pane-items
Omit destroyed pane items
This commit is contained in:
commit
9198f3b809
@ -37,6 +37,7 @@ class Pane extends View
|
||||
@items = _.compact @state.get('items').map (item) ->
|
||||
item = atom.deserializers.deserialize(item)
|
||||
item?.created?()
|
||||
return if item?.state?.isDestroyed?()
|
||||
item
|
||||
else
|
||||
@items = args
|
||||
|
Loading…
Reference in New Issue
Block a user