bugfixes:

- now initializing signals before setting aspects
- fixed css for HL2
This commit is contained in:
Stephan Richter
2021-01-01 18:18:37 +01:00
parent e50bc039cd
commit 0b3ae425c0
8 changed files with 57 additions and 10 deletions

View File

@@ -194,10 +194,11 @@ h2{
.signal.red .sig_a{
fill: red;
}
.signal.HL2 .sig_a,
.signal.green .sig_a{
fill: lime;
}
.signal.HL2 .sig_a{
.signal.HL2 .sig_b{
fill: yellow;
}

View File

@@ -1,7 +1,7 @@
<svg width="%width%" height="100" viewbox="0 0 100 100">
<rect x="0" y="35" width="100" height="30" />
<rect class="sig_a" x="75" y="75" height="20" width="20" />
<rect class="sig_B" x="55" y="75" height="20" width="20" />
<rect class="sig_b" x="55" y="75" height="20" width="20" />
<line x1="30" y1="85" x2="55" y2="85" />
<line x1="30" y1="80" x2="30" y2="90" />
</svg>

Before

Width:  |  Height:  |  Size: 316 B

After

Width:  |  Height:  |  Size: 316 B

View File

@@ -1,7 +1,7 @@
<svg width="100" height="" viewbox="0 0 100 100">
<rect x="35" y="0" width="30" height="100" />
<rect class="sig_a" x="75" y="5" height="20" width="20" />
<rect class="sig_B" x="75" y="25" height="20" width="20" />
<rect class="sig_b" x="75" y="25" height="20" width="20" />
<line x1="85" y1="45" x2="85" y2="70" />
<line x1="80" y1="70" x2="90" y2="70" />
</svg>

Before

Width:  |  Height:  |  Size: 308 B

After

Width:  |  Height:  |  Size: 308 B

View File

@@ -1,7 +1,7 @@
<svg width="100" height="" viewbox="0 0 100 100">
<rect x="35" y="0" width="30" height="100" />
<rect class="sig_a" x="5" y="75" height="20" width="20" />
<rect class="sig_B" x="5" y="55" height="20" width="20" />
<rect class="sig_b" x="5" y="55" height="20" width="20" />
<line x1="15" y1="30" x2="15" y2="55" />
<line x1="10" y1="30" x2="20" y2="30" />
</svg>

Before

Width:  |  Height:  |  Size: 307 B

After

Width:  |  Height:  |  Size: 307 B

View File

@@ -1,7 +1,7 @@
<svg width="%width%" height="100" viewbox="0 0 100 100">
<rect x="0" y="35" width="100" height="30" />
<rect class="sig_a" x="5" y="5" height="20" width="20" />
<rect class="sig_B" x="25" y="5" height="20" width="20" />
<rect class="sig_b" x="25" y="5" height="20" width="20" />
<line x1="45" y1="15" x2="70" y2="15" />
<line x1="70" y1="10" x2="70" y2="20" />
</svg>

Before

Width:  |  Height:  |  Size: 313 B

After

Width:  |  Height:  |  Size: 313 B