Skip to content

Commit b52c78d

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 4da0fb7 + e8e44d2 commit b52c78d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: src/main/java/com/actelion/research/chem/descriptor/flexophore/FlexophoreAtomContributionColors.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public float[] getRefRadius() {
117117
return mRefRadius;
118118
}
119119

120-
private int[] createDiverseColorList(int colorCount) {
120+
public static int[] createDiverseColorList(int colorCount) {
121121
if (colorCount <= cDiverseColor.length)
122122
return cDiverseColor;
123123

Diff for: src/main/java/com/actelion/research/gui/editor/GenericEditorArea.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -592,10 +592,11 @@ public void toolChanged(int newTool) {
592592
if (mCurrentTool != newTool) {
593593
if (mCurrentTool == GenericEditorToolbar.cToolMapper
594594
|| newTool == GenericEditorToolbar.cToolMapper) {
595+
mCurrentTool = newTool;
595596
update(UPDATE_REDRAW);
597+
} else {
598+
mCurrentTool = newTool;
596599
}
597-
598-
mCurrentTool = newTool;
599600
}
600601
}
601602

0 commit comments

Comments
 (0)