Update large motor view SVG so that the drop shadow is outside the hole SVG
This commit is contained in:
1 parent
d0aa68aeee
commit
da9bea30b5
3 files changed
+146
-176
No files matched your search
@@ -46,9 +46,9 @@ namespace pxsim.visuals {
|
||||
}
|
||||
|
||||
protected renderMotorAngle(holeEl: Element, angle: number) {
|
||||
const width = 125.92;
|
||||
const height = 37.9;
|
||||
const transform = `rotate(${angle} ${width / 2} ${height / 2})`;
|
||||
const width = 35.92;
|
||||
const height = 35.9;
|
||||
const transform = `translate(45.000000, 1.000000) rotate(${angle} ${width / 2} ${height / 2})`;
|
||||
holeEl.setAttribute("transform", transform);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user