Clarify progress is from 0 to 1
This commit is contained in:
parent
56279e3794
commit
3b7436ab89
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ export interface NodeTypeOptions {
|
||||||
shape: NodeComputable<Shape>;
|
shape: NodeComputable<Shape>;
|
||||||
/** Whether the node can accept another node being dropped upon it. */
|
/** Whether the node can accept another node being dropped upon it. */
|
||||||
canAccept?: NodeComputable<boolean, [BoardNode]>;
|
canAccept?: NodeComputable<boolean, [BoardNode]>;
|
||||||
/** The progress value of the node. */
|
/** The progress value of the node, from 0 to 1. */
|
||||||
progress?: NodeComputable<number>;
|
progress?: NodeComputable<number>;
|
||||||
/** How the progress should be displayed on the node. */
|
/** How the progress should be displayed on the node. */
|
||||||
progressDisplay?: NodeComputable<ProgressDisplay>;
|
progressDisplay?: NodeComputable<ProgressDisplay>;
|
||||||
|
|
Loading…
Reference in a new issue