Skip to content

Commit

Permalink
positional error corrected in edit Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
saliherdemk committed Jul 19, 2024
1 parent 38bed98 commit a168c0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/Layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 3 additions & 0 deletions js/editOrganizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ class EditOrganizer {
this.canvas,
layer.act_func,
);

this.selectedCopy.y = y + 100;
this.selectedCopy.shrink();
}

disable() {
Expand Down

0 comments on commit a168c0a

Please sign in to comment.