whycwx
2021-07-22 4bfe87304988cfa2338bb58210ee227b917a9247
src/pages/testedMotor/js/gridCircuitDiagram.js
@@ -18,8 +18,8 @@
    let diagram = new Diagram();
    let thisWidth = stc.scrollWidth;
    let thisHeight = stc.scrollHeight;
    diagram.width = thisWidth;
    diagram.height= thisHeight;
    diagram.width = 525;
    diagram.height= 380;
    diagram.setCanvas(stc, flush);
    let start = [60, 100];
@@ -138,7 +138,7 @@
        lineWidth: lineWidth,
        points: [
            [line7[1][0],line7[1][1]],
            [line8[0][0], line8[0][1]-10]
            [line8[0][0], line8[0][1]]
            
        ],
        hide: hideStatus,
@@ -173,7 +173,7 @@
    let text3 = diagram.text({
        id: "text3",
        text: '900V',
        text: '900V/DC',
        fillStyle: '#fff',
        fontSize: 12,
        fontWidth:1,