mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Always show the dock when an item is dropped into it
Previously, we were only showing it when going from 0 -> 1 items (which is a bug).
This commit is contained in:
@@ -203,9 +203,7 @@ module.exports = class Dock {
|
||||
|
||||
handleDidAddPaneItem () {
|
||||
// Show the dock if you drop an item into it.
|
||||
if (this.paneContainer.getPaneItems().length === 1) {
|
||||
this.setState({open: true})
|
||||
}
|
||||
this.setState({open: true})
|
||||
}
|
||||
|
||||
handleDidRemovePaneItem () {
|
||||
|
||||
Reference in New Issue
Block a user