mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-22 00:21:31 +00:00
Make pink fill run specifically on running nodes, not any selected
This commit is contained in:
parent
839079be8a
commit
2aaf95ecba
2 changed files with 2 additions and 1 deletions
|
@ -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: {
|
||||
|
|
|
@ -275,7 +275,7 @@ function mouseUp(e: MouseEvent | TouchEvent) {
|
|||
fill: var(--highlighted);
|
||||
}
|
||||
|
||||
.boardnode.isSelected .body {
|
||||
.boardnode.running .body {
|
||||
fill: var(--accent1) !important;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue