You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/autoannotate/AutoAnnotationManager.java
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -293,5 +293,14 @@ public void setClusterTableUpdating(boolean clusterTableUpdating) {
Copy file name to clipboardExpand all lines: EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/autoannotate/task/cluster/DrawClusterLabelTask.java
Copy file name to clipboardExpand all lines: EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/autoannotate/view/AutoAnnotationPanel.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -430,8 +430,8 @@ public void itemStateChanged(ItemEvent itemEvent) {
Copy file name to clipboardExpand all lines: EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/autoannotate/view/DisplayOptionsPanel.java
+18-5Lines changed: 18 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ public class DisplayOptionsPanel extends JPanel implements CytoPanelComponent {
47
47
privateJCheckBoxshowEllipsesCheckBox;
48
48
privateJRadioButtonheatmapButton;
49
49
protectedJPanelslidersPanel;
50
-
50
+
51
51
privatestaticStringproportionalSizeButtonString = "Font size by # of nodes";
52
52
privatestaticStringconstantSizeButtonString = "Constant font size";
53
53
@@ -116,8 +116,11 @@ public void actionPerformed(ActionEvent e) {
116
116
if (fontSize <= 0) {
117
117
thrownewException();
118
118
}
119
-
selectedAnnotationSet.setFontSize(fontSize);
120
-
AutoAnnotationUtils.updateFontSizes();
119
+
setSelectedAnnotationSet();
120
+
if(selectedAnnotationSet != null){
121
+
selectedAnnotationSet.setFontSize(fontSize);
122
+
AutoAnnotationUtils.updateFontSizes();
123
+
}
121
124
} catch (Exceptionex) {
122
125
JOptionPane.showMessageDialog(null,
123
126
"Error: Please enter an integer bigger than 0", "Error Message",
0 commit comments