diff --git a/dist/entry.js b/dist/entry.js index f628ba0972..338c8abd14 100644 --- a/dist/entry.js +++ b/dist/entry.js @@ -22961,7 +22961,7 @@ Entry.Utils.inherit(Entry.Field, Entry.FieldTextInput); this.textElement = this.svgGroup.elem("text", {x:3, y:4, "font-size":"12px"}); this.textElement.textContent = this.truncate(); var a = this.getTextWidth(), b = this.position && this.position.y ? this.position.y : 0, c = this._CONTENT_HEIGHT; - this._header = this.svgGroup.elem("rect", {width:a, height:c, y:b - c / 2, rx:3, ry:3, fill:"transparent"}); + this._header = this.svgGroup.elem("rect", {width:a, height:c, y:b - c / 2, rx:3, ry:3, fill:"#fff", "fill-opacity":.4}); this.svgGroup.appendChild(this.textElement); this._bindRenderOptions(); this.box.set({x:0, y:0, width:a, height:c}); diff --git a/src/workspace/field/textInput.js b/src/workspace/field/textInput.js index d33a1ad82c..682620f740 100644 --- a/src/workspace/field/textInput.js +++ b/src/workspace/field/textInput.js @@ -60,7 +60,8 @@ Entry.Utils.inherit(Entry.Field, Entry.FieldTextInput); height: CONTENT_HEIGHT, y: y, rx: 3, ry: 3, - fill: "transparent" + fill: "#fff", + 'fill-opacity': 0.4 }); this.svgGroup.appendChild(this.textElement);