Stringify color inputs properly
This commit is contained in:
parent
8fbe742069
commit
e51c5c334a
1 changed files with 1 additions and 1 deletions
|
@ -1718,7 +1718,7 @@ var scratchblocks = function () {
|
|||
Input.prototype.stringify = function() {
|
||||
if (this.isColor) {
|
||||
assert(this.value[0] === '#');
|
||||
return this.value;
|
||||
return "[" + this.value + "]";
|
||||
}
|
||||
var text = ((this.value ? "" + this.value : "")
|
||||
.replace(/ v$/, " \\v")
|
||||
|
|
Reference in a new issue