mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
implement progress fraction update
This commit is contained in:
parent
85629e9dcb
commit
2d160b5a49
3 changed files with 14 additions and 5 deletions
|
|
@ -41,7 +41,8 @@ impl Request {
|
|||
}
|
||||
|
||||
// Actions
|
||||
pub fn update(&self) {
|
||||
pub fn update(&self, progress_fraction: f64) {
|
||||
self.widget.set_progress_fraction(progress_fraction);
|
||||
// @TODO animate progress fraction
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue