mirror of
https://github.com/google/blockly.git
synced 2026-01-11 02:47:09 +01:00
Move field border radius into a constant (#3434)
* Move field border radius into a constant * Drop const.
This commit is contained in:
@@ -326,8 +326,8 @@ Blockly.Field.prototype.createBorderRect_ = function() {
|
||||
this.borderRect_ = /** @type {!SVGRectElement} **/
|
||||
(Blockly.utils.dom.createSvgElement('rect',
|
||||
{
|
||||
'rx': 4,
|
||||
'ry': 4,
|
||||
'rx': this.constants_.FIELD_BORDER_RECT_RADIUS,
|
||||
'ry': this.constants_.FIELD_BORDER_RECT_RADIUS,
|
||||
'x': 0,
|
||||
'y': 0,
|
||||
'height': this.size_.height,
|
||||
|
||||
Reference in New Issue
Block a user