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) {
|
||||
return camelToTitle((node.data as ActionNodeData).actionType);
|
||||
},
|
||||
tooltip(node) {
|
||||
switch ((node.data as ActionNodeData).actionType) {
|
||||
default:
|
||||
return camelToTitle((node.data as ActionNodeData).actionType);
|
||||
case "browse":
|
||||
return "Browse the internet";
|
||||
}
|
||||
fillColor() {
|
||||
return themes[player.theme].variables["--background-tooltip"];
|
||||
},
|
||||
draggable: false,
|
||||
draggable: true,
|
||||
shape: Shape.Diamond,
|
||||
size: 100,
|
||||
progressColor: "#0FF3",
|
||||
|
|
Loading…
Reference in a new issue