From 08e8975a103f616d50715ab82912367abb82f109 Mon Sep 17 00:00:00 2001 From: Matthew Dapena-Tretter Date: Mon, 27 Mar 2017 18:17:02 -0700 Subject: [PATCH] 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). --- src/dock.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dock.js b/src/dock.js index 47ad9b715..c04bbcb50 100644 --- a/src/dock.js +++ b/src/dock.js @@ -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 () {