Skip to content

Commit

Permalink
Fix battery usage after main rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas ADAM <tadam@silicom.fr>
  • Loading branch information
tadam50 committed Mar 30, 2023
1 parent 9441d75 commit b8c824e
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ public void test() {
ComponentLibrary cvg = ComponentLibrary.find("Convergence").orElse(null);
assertNotNull(cvg);
assertEquals("Convergence", cvg.getName());
assertEquals(20, cvg.getComponentsSize().size());
assertEquals(21, cvg.getComponentsSize().size());
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
.sld-wire {stroke: var(--sld-vl-color, #c80000); fill: none}
/* Stroke --sld-vl-color with fallback blue */
.sld-load {stroke: var(--sld-vl-color, blue); fill: none}
.sld-battery {stroke: var(--sld-vl-color, blue); fill: none}
.sld-capacitor {stroke: var(--sld-vl-color, blue); fill: none}
.sld-inductor {stroke: var(--sld-vl-color, blue); fill: none}
.sld-pst {stroke: var(--sld-vl-color, blue); fill: none}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,27 @@
"fileName" : "load.svg"
} ],
"styleClass" : "sld-load"
}, {
"type" : "BATTERY",
"anchorPoints" : [ {
"x" : 0,
"y" : -4,
"orientation" : "VERTICAL"
}, {
"x" : 0,
"y" : 5,
"orientation" : "VERTICAL"
} ],
"size" : {
"width" : 16.0,
"height" : 10.0
},
"transformations" : {},
"subComponents" : [ {
"name" : "BATTERY",
"fileName" : "battery.svg"
} ],
"styleClass" : "sld-battery"
}, {
"type" : "CAPACITOR",
"anchorPoints" : [ {
Expand Down

0 comments on commit b8c824e

Please sign in to comment.