Update draw.js and roof.js

This commit is contained in:
Matthew Miller
2018-12-20 13:43:01 +10:00
parent 5eb9b779d7
commit b300c21185
6 changed files with 47 additions and 29 deletions

View File

@ -127,7 +127,7 @@ public class ColorCodeBuilder {
} else if (!resetFrom.hasEqualFormatting(resetTo) ||
(resetFrom.getColor() != null && resetTo.getColor() == null)) {
// Have to set reset code and add back all the formatting codes
return String.valueOf(Style.RESET) + getCode(resetTo);
return Style.RESET + getCode(resetTo);
} else {
if (resetFrom.getColor() != resetTo.getColor()) {
return String.valueOf(resetTo.getColor());