Browse Source

add comment

master
yggverse 2 months ago
parent
commit
a145ea4b6d
  1. 1
      src/browser/main/tab/page/navigation/request.rs

1
src/browser/main/tab/page/navigation/request.rs

@ -80,6 +80,7 @@ impl Request {
// Animate // Animate
if *progress.fraction.borrow() > widget.progress_fraction() { if *progress.fraction.borrow() > widget.progress_fraction() {
widget.set_progress_fraction( widget.set_progress_fraction(
// Currently, here is no outrange validation, seems that wrapper make this work @TODO
widget.progress_fraction() + PROGRESS_ANIMATION_STEP, widget.progress_fraction() + PROGRESS_ANIMATION_STEP,
); );
return ControlFlow::Continue; return ControlFlow::Continue;

Loading…
Cancel
Save