mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 19:59:49 +00:00
Minor cleanup and fixes
This commit is contained in:
1 parent
3bb678258f
commit
14c107ab71
30 files changed
+87
-117
No files matched your search
@@ -36,18 +36,18 @@ public class ControlSequencerProgress extends ControlProgressBase {
|
||||
this.textControl.setValue("");
|
||||
} else {
|
||||
Random rand = new Random(stackTarget.getDisplayName().length());
|
||||
String text = "";
|
||||
StringBuilder text = new StringBuilder();
|
||||
for (int i = 0; i < 65; ++i) {
|
||||
int k = rand.nextInt(4);
|
||||
String code = CODES[k];
|
||||
if (rand.nextFloat() < this.progress) {
|
||||
String color = "�" + COLORS[k];
|
||||
text = text + "�r" + color + "�l" + code;
|
||||
text.append("�r").append(color).append("�l").append(code);
|
||||
} else {
|
||||
text = text + "�r�7�k�l" + code;
|
||||
text.append("�r�7�k�l").append(code);
|
||||
}
|
||||
}
|
||||
this.textControl.setValue(text);
|
||||
this.textControl.setValue(text.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user