forked from profectus/Profectus
Updated action node type
This commit is contained in:
parent
0dc1af27b5
commit
35b3226995
1 changed files with 3 additions and 8 deletions
|
@ -118,15 +118,10 @@ export default {
|
||||||
title(node) {
|
title(node) {
|
||||||
return camelToTitle((node.data as ActionNodeData).actionType);
|
return camelToTitle((node.data as ActionNodeData).actionType);
|
||||||
},
|
},
|
||||||
tooltip(node) {
|
fillColor() {
|
||||||
switch ((node.data as ActionNodeData).actionType) {
|
return themes[player.theme].variables["--background-tooltip"];
|
||||||
default:
|
|
||||||
return camelToTitle((node.data as ActionNodeData).actionType);
|
|
||||||
case "browse":
|
|
||||||
return "Browse the internet";
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
draggable: false,
|
draggable: true,
|
||||||
shape: Shape.Diamond,
|
shape: Shape.Diamond,
|
||||||
size: 100,
|
size: 100,
|
||||||
progressColor: "#0FF3",
|
progressColor: "#0FF3",
|
||||||
|
|
Loading…
Reference in a new issue