when declaring a progress component in the serialization, you must bind the max property before you bind the value property.
The issue is that you cannot set a value property greater than the max property per design. Ideally the order of the binding declaration should not matter.
The following will failed show the proper progress value:
"progress": {
"prototype": "matte/ui/progress.reel",
"properties": {
"element": {
"#": "progress"
},
"max": 0,
"value": 0
},
"bindings": {
"value": {
"<-": "@owner.value"
},
"max": {
"<-": "@owner.max"
}
}
}
when declaring a progress component in the serialization, you must bind the max property before you bind the value property.
The issue is that you cannot set a value property greater than the max property per design. Ideally the order of the binding declaration should not matter.
The following will failed show the proper progress value: