Make pink fill run specifically on running nodes, not any selected

This commit is contained in:
thepaperpilot 2023-04-22 19:21:21 -05:00
parent 839079be8a
commit 2aaf95ecba
2 changed files with 2 additions and 1 deletions

View file

@ -166,6 +166,7 @@ export const main = createLayer("main", function (this: BaseLayer) {
: 0,
progressDisplay: ProgressDisplay.Outline,
progressColor: "var(--accent2)",
classes: node => ({ running: node === board.selectedNode.value }),
draggable: true
},
brokenFactory: {

View file

@ -275,7 +275,7 @@ function mouseUp(e: MouseEvent | TouchEvent) {
fill: var(--highlighted);
}
.boardnode.isSelected .body {
.boardnode.running .body {
fill: var(--accent1) !important;
}