Skip to content

Commit

Permalink
Fix resizing bug.
Browse files Browse the repository at this point in the history
Fixes #908
  • Loading branch information
pmuetschard committed Aug 15, 2017
1 parent a58565d commit 10ba360
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gapic/src/main/com/google/gapid/widgets/TabArea.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ private void rememberWeights() {
int[] curWeights = sash.getWeights();
weights[1] = (weights[1] + weights[2]) * curWeights[1] / (curWeights[1] + curWeights[2]);
weights[2] = (weights[1] + weights[2]) * curWeights[2] / (curWeights[1] + curWeights[2]);
} else {
weights = sash.getWeights();
}
}

Expand Down

0 comments on commit 10ba360

Please sign in to comment.