From 46039400a43aa50df8eeb93cc2c9dada12b12f7a Mon Sep 17 00:00:00 2001 From: "David Benson [draw.io]" <david@jgraph.com> Date: Tue, 26 Nov 2019 09:13:14 +0000 Subject: [PATCH] Switches vss and vdd --- .../webapp/js/diagramly/sidebar/Sidebar-Electrical.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-Electrical.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-Electrical.js index 6d9e72466..6ebd227c4 100644 --- a/src/main/webapp/js/diagramly/sidebar/Sidebar-Electrical.js +++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-Electrical.js @@ -563,12 +563,12 @@ 'Thermistor With Independent Integral Heater', null, null, this.getTagsForStencil(gnmea, 'thermistor_with_independent_integral_heater', dtmea).join(' ')), this.createVertexTemplateEntry(mea + 'voltage_regulator;', 70, 58, '', 'Voltage Regulator', null, null, this.getTagsForStencil(gnmea, 'voltage_regulator', dtmea).join(' ')), - this.createVertexTemplateEntry(mess + 'vdd;fontSize=24;', + this.createVertexTemplateEntry(mess + 'vss2;fontSize=24;flipV=1;', 60, 40, - 'V<sub>dd</sub>', 'Vdd', null, null, this.getTagsForStencil(gnmess, 'vdd', dtmess).join(' ')), - this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=top;' + mxConstants.STYLE_VERTICAL_ALIGN + '=bottom;' + mxConstants.STYLE_SHAPE + '=mxgraph.electrical.signal_sources.vss2;shadow=0;dashed=0;align=center;strokeWidth=1;fontSize=24;html=1;', + 'V<sub>ss</sub>', 'Vss', null, null, this.getTagsForStencil(gnmess, 'vss', dtmess).join(' ')), + this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=top;' + mxConstants.STYLE_VERTICAL_ALIGN + '=bottom;' + mxConstants.STYLE_SHAPE + '=mxgraph.electrical.signal_sources.vdd;shadow=0;dashed=0;align=center;strokeWidth=1;fontSize=24;html=1;flipV=1;', 60, 40, - 'V<sub>ss</sub>', 'Vss', null, null, this.getTagsForStencil(gnmess, 'vss2', dtmess).join(' ')), + 'V<sub>dd</sub>', 'Vdd', null, null, this.getTagsForStencil(gnmess, 'vdd', dtmess).join(' ')), this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=top;' + mxConstants.STYLE_VERTICAL_ALIGN + '=bottom;' + mxConstants.STYLE_SHAPE + '=mxgraph.electrical.signal_sources.current_flow;shadow=0;dashed=0;align=center;strokeWidth=1;fontSize=10;html=1;', 70, 10, '5 mA', 'Current Flow', null, null, this.getTagsForStencil(gnmess, 'current_flow', dtmess).join(' ')), -- GitLab