Skip to content

Commit c091155

Browse files
committed
style: format code with prettier
1 parent faee44c commit c091155

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/led-element.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ export class LEDElement extends LitElement {
2222
@property({ type: Boolean }) flip = false;
2323

2424
get pinInfo(): ElementPin[] {
25-
const anodeX = this.flip ? 15 : 25;
26-
const cathodeX = this.flip ? 25 : 15;
25+
const anodeX = this.flip ? 15 : 25;
26+
const cathodeX = this.flip ? 25 : 15;
2727

2828
return [
2929
{ name: 'A', x: anodeX, y: 42, signals: [], description: 'Anode' },
@@ -78,8 +78,11 @@ export class LEDElement extends LitElement {
7878
<feGaussianBlur stdDeviation="4" />
7979
</filter>
8080
<rect x="2.5099" y="20.382" width="2.1514" height="9.8273" fill="#8c8c8c" />
81-
<path d="m12.977 30.269c0-1.1736-0.86844-2.5132-1.8916-3.4024-0.41616-0.3672-1.1995-1.0015-1.1995-1.4249v-5.4706h-2.1614v5.7802c0 1.0584 0.94752 1.8785 1.9462 2.7482 0.44424 0.37584 1.3486 1.2496 1.3486 1.7694" fill="#8c8c8c"/>
82-
81+
<path
82+
d="m12.977 30.269c0-1.1736-0.86844-2.5132-1.8916-3.4024-0.41616-0.3672-1.1995-1.0015-1.1995-1.4249v-5.4706h-2.1614v5.7802c0 1.0584 0.94752 1.8785 1.9462 2.7482 0.44424 0.37584 1.3486 1.2496 1.3486 1.7694"
83+
fill="#8c8c8c"
84+
/>
85+
8386
<path
8487
d="m14.173 13.001v-5.9126c0-3.9132-3.168-7.0884-7.0855-7.0884-3.9125 0-7.0877 3.1694-7.0877 7.0884v13.649c1.4738 1.651 4.0968 2.7526 7.0877 2.7526 4.6195 0 8.3686-2.6179 8.3686-5.8594v-1.5235c-7.4e-4 -1.1426-0.47444-2.2039-1.283-3.1061z"
8588
opacity=".3"

0 commit comments

Comments
 (0)