File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed
src/de/zabuza/treeflood/demo/gui/view Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,17 @@ public void setSeed(final long seed) {
215
215
this .mOptionPanel .setSeed (seed );
216
216
}
217
217
218
+ /**
219
+ * Sets the stage type on the GUI.
220
+ *
221
+ * @param stageType
222
+ * The stage type.
223
+ */
224
+ public void setStageType (final EStage stageType ) {
225
+ this .mOptionPanel .setStageType (stageType );
226
+
227
+ }
228
+
218
229
/**
219
230
* Sets the step type shown on the GUI.
220
231
*
@@ -244,15 +255,4 @@ public void setStyle(final EStyle styleToSet) {
244
255
public void setTree (final CoordinateTree tree ) {
245
256
this .mTreePanel .setTree (tree );
246
257
}
247
-
248
- /**
249
- * Sets the stage type on the GUI.
250
- *
251
- * @param stageType
252
- * The stage type.
253
- */
254
- public void setStageType (final EStage stageType ) {
255
- this .mOptionPanel .setStageType (stageType );
256
-
257
- }
258
258
}
Original file line number Diff line number Diff line change @@ -105,8 +105,7 @@ public void reColor() {
105
105
this .setBackground (this .mManager .getTextPaneColor ());
106
106
107
107
if (this .mHighlighted ) {
108
- this .setForeground (this .mManager .getHighlightingColor ());
109
- return ;
108
+ this .setBackground (this .mManager .getHighlightingColor ());
110
109
111
110
}
112
111
this .setForeground (this .mManager .getDefaultFontColor ());
You can’t perform that action at this time.
0 commit comments