Skip to content

Commit

Permalink
fix some stuff being ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
ix0rai committed Dec 12, 2023
1 parent b58481a commit 3c14d78
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,19 @@ public SelectedDockers(String top, String bottom, String full) {
public void add(String id, Docker.VerticalLocation location) {
switch (location) {
case TOP -> {
this.full = "";
if (!this.full.isBlank()) {
this.bottom = this.full;
this.full = "";
}

this.top = id;
}
case BOTTOM -> {
this.full = "";
if (!this.full.isBlank()) {
this.top = this.full;
this.full = "";
}

this.bottom = id;
}
case FULL -> {
Expand Down

0 comments on commit 3c14d78

Please sign in to comment.