Commit ddedc2ac authored by bbaer's avatar bbaer
Browse files

fixed problem of empty string not displaying fabric image

parent 8b933f7c
Pipeline #5040 passed with stages
in 4 minutes and 8 seconds
......@@ -336,15 +336,15 @@ $(function (n) {
that.userChangePossible = true;
});
} else {
if(!isReadOnly) {
that.setBackground();
that.setBackground();
if(!isReadOnly) {
that.setBrush();
}
that.canvas.renderAll();
that.userChangePossible = true;
this.history.put(this.canvas.toJSON());
}
var defaultColor = $fabricElement.data('fabric-color') || false;
var defaultColor = this.parentElement.data('fabric-color') || false;
if (defaultColor) {
this.setColor(defaultColor);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment