Moved the signalbox icons

*Moved the signalbox icons to /public/assets/signalboxes/
This commit is contained in:
izawartka 2025-06-16 12:07:37 +02:00
parent b70716e09e
commit e26a5a8791
5 changed files with 1 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 185 B

After

Width:  |  Height:  |  Size: 185 B

View File

Before

Width:  |  Height:  |  Size: 266 B

After

Width:  |  Height:  |  Size: 266 B

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 353 B

After

Width:  |  Height:  |  Size: 353 B

View File

@ -15,7 +15,7 @@ export default function SignalBoxRenderer(props) {
<g className="signalbox" transform={`translate(${x}, ${y}) rotate(${rot}) `}>
<g className="signalbox-icon" transform={`translate(-4.725, -4.725)`}>
<ReactSVG
src={`/assets/${object.def.icon}`}
src={`/assets/signalboxes/${object.def.icon}`}
wrapper='svg'
beforeInjection={(svg) => {