Added several improvements XXX

This commit is contained in:
Robert Vokac 2024-01-21 08:07:02 +00:00
parent bc76a0f107
commit 2351e1358a
No known key found for this signature in database
GPG Key ID: 693D30BEE3329055

View File

@ -266,10 +266,10 @@ public class TimeCalcWindow {
} }
sb.append(index == 2 ? (msg + createSpaces((percentInt < 0 ? -1 : 0) + 9 + (percentInt<10 ? 1: 0) + (percentInt==100 ? -1: 0) - 3)) : createSpaces(58)); sb.append(index == 2 ? (msg + createSpaces((percentInt < 0 ? -1 : 0) + 9 + (percentInt<10 ? 1: 0) + (percentInt==100 ? -1: 0) - 3)) : createSpaces(58));
for(int j = 1; j <= i; j++) { for(int j = 1; j <= i; j++) {
sb.append("#"); sb.append(" "/*"#"*/);
} }
for(int j = 10; j > i; j--) { for(int j = 10; j > i; j--) {
sb.append("."); sb.append(" "/*"."*/);
} }
sb.append("\n"); sb.append("\n");
index++; index++;