fixing field width
This commit is contained in:
parent
9187c47e09
commit
59e39fa76d
@ -41,8 +41,7 @@ export class FieldSpeed extends Blockly.FieldSlider implements Blockly.FieldCust
|
|||||||
this.speedSVG = document.createElementNS("http://www.w3.org/2000/svg", "svg") as SVGGElement;
|
this.speedSVG = document.createElementNS("http://www.w3.org/2000/svg", "svg") as SVGGElement;
|
||||||
pxsim.svg.hydrate(this.speedSVG, {
|
pxsim.svg.hydrate(this.speedSVG, {
|
||||||
viewBox: "0 0 200 100",
|
viewBox: "0 0 200 100",
|
||||||
width: "200",
|
width: "170"
|
||||||
height: "100"
|
|
||||||
});
|
});
|
||||||
|
|
||||||
labelContainer.appendChild(this.speedSVG);
|
labelContainer.appendChild(this.speedSVG);
|
||||||
|
Loading…
Reference in New Issue
Block a user