0.01
+ ? `0 0 ${Math.round(4 + nodeFade * 14)}px rgba(255, 255, 255, ${(nodeFade * 0.85).toFixed(2)})`
+ : undefined,
+ boxSizing: 'border-box',
+ }}
+ >
+ {/* Top row: badge + priority */}
+
+ {badge}
+ #{node.priority}
+
+
+ {/* Label */}
+
+ {node.label}
+
+
+ {/* Decorator badges */}
+ {node.node_type === BT_NODE_DECORATOR && (
+
+ {abort !== BT_ABORT_NONE && (
+
+ OBS
+
+ )}
+ {node.invert && (
+
+ NOT
+
+ )}
+ {abort === BT_ABORT_SELF && (
+ SELF
+ )}
+ {abort === BT_ABORT_LOWER_PRIORITY && (
+ LO-PRI
+ )}
+ {abort === BT_ABORT_BOTH && (
+ BOTH
+ )}
+
+ )}
+