diff --git a/js/Layer.js b/js/Layer.js index 7c7098a..2041af1 100644 --- a/js/Layer.js +++ b/js/Layer.js @@ -48,7 +48,7 @@ class Layer extends Draggable { const { neurons, yGap } = this; if ( - this.getShownNeuronNum() === this.getNeuronNum() || + this.getShownNeuronNum() == this.getNeuronNum() || this.getNeuronNum() < 4 ) { this.expand(); diff --git a/js/editOrganizer.js b/js/editOrganizer.js index 3f05012..e66faed 100644 --- a/js/editOrganizer.js +++ b/js/editOrganizer.js @@ -130,6 +130,9 @@ class EditOrganizer { this.canvas, layer.act_func, ); + + this.selectedCopy.y = y + 100; + this.selectedCopy.shrink(); } disable() {